Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, follow the schematic code.
<Autodesk.autocad.rutime.commandmethod("teste")>_
Public Sub open()
ShowModalDialog(Myform)
End Sub
Private Sub btClick()
Me.hide()
.
.
.
If ...... then
ShowModalDialog(Myform)
Exit sub
End if
End sub
I view my form in a restricted way, click on a button that hides the form using myform.hide, and ask me to select an entity. If I deselect it, it should display the form again. This works the first time I cancel, but if I do it one more time, the form freezes. The sequence would be to display form, click button, esc, click button, and esc. Freezes.
Solved! Go to Solution.