Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close top form from toolbar
Message
 
 
To
28/01/2005 14:29:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00981030
Message ID:
00981861
Views:
35
>>     FOR lnI = lnKount TO 1 STEP -1
>>          loForm = THIS.FormList.ITEM(lnI)
>>          loForm.QUERYUNLOAD()
>>     ENDFOR
>>ENDPROC
>
>So, what actually releases top form? QUERYUNLOAD?

Sorry, I forget that my base form class does some stuff in the QueryUnload and calls THISFORM.Release(). The code I gave you previously for finding the TLF is what releases the TLF. The only other 2 ways of closing an app is clicking the close button (which is handled by the ON SHUTDOWN), and choosing Exit under the File menu pad if you have one. Releasing the TLF should be the last thing your cleanup process does.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform