Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to release all active forms
Message
 
To
01/09/2000 04:59:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00411246
Message ID:
00411681
Views:
13
And if you use the VFP version where they don't - you can add RELEASE method to your Toolbar class with RELEASE THIS in it.

>ToolBars do have a Release method now - via SPn
>
>>>OK...if I recall, Toolbars are added to the _SCREEN.Forms collection and they don't have a Release method or a QueryUnload, so don't you have to trap for the existence of those methods first in this code?
>>
>>Doh! Of course. THough, you wouldn't have to trap for the existance of those methods, just teh value of the BaseClass property (to see if it is "form" or not). THanks
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform