Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Release
Message
 
To
03/03/2007 14:13:12
Randy Hooper
Ranco Business Software
Tampa, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01200535
Message ID:
01200540
Views:
37
>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
Map
View

Click here to load this message in the networking platform