Code Red > .NET
Custom dialog boxes examples?
MickD:
A simple rule of thumb for doc locking - if you're coming from a dialog to the editor (after hitting your pick points button say) you need to lock the document because you're coming from a non document context to the doc context and you have to let autocad know.
If you are running a command from the command line (no windows), autocad automatically looks after the locking operation.
T.Willey:
Thanks Kerry and Mick. I think I understand now about locking.
Glenn R:
--- Quote ---if you're coming from a dialog to the editor (after hitting your pick points button say) you need to lock the document
--- End quote ---
Only if the dialog is modeless...well not quite true, but good enough for this discussion.
T.Willey:
--- Quote from: Glenn R on August 07, 2006, 08:05:17 AM ---
--- Quote ---if you're coming from a dialog to the editor (after hitting your pick points button say) you need to lock the document
--- End quote ---
Only if the dialog is modeless...well not quite true, but good enough for this discussion.
--- End quote ---
Thanks Glenn. I'm sure there area lot of little things that will take writting code to understand, but this is good for now.
Navigation
[0] Message Index
[*] Previous page
Go to full version