General information
Category:
Forms & Form designer
>Have a form needs to release this form has a grid on it when I issue thisform.release the grid turns white the form stay on the screen. Have to click on my release button a second time for the form to release.
>
>This is a nomodal form going back to my main form. Not using a formset...
>
>Thanks
Sounds like you have a possible dangling object reference on the form... However, another alternative is to just "hide" the form. This will release the modality of the form and return control back to the calling point. Ex: if you have something like
loFormReference = createobject( "YourModalForm" )
loFormReference.Show()
loFormReference = NULL
the loFormReference is still in the call stack and thus keeping the form active... So if you HIDE the form, it will return back to here and then allow the reference set to NULL and allow to resume working.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only