Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing all Running forms
Message
From
19/10/1999 14:15:58
 
 
To
19/10/1999 14:10:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00278293
Message ID:
00278369
Views:
19
A toolbar will appear in the _Screen.Forms collection, but a toolbar doesn't have a QueryUnload() event. You might check the presence of the method before calling it:
IF PEMStatus(oForm, "QueryUnload", 5)
   IF oForm.QueryUnload()
      ...
   ENDIF
ENDIF
HTH
>I tried your suggestion but i get a ' Property QueryUnload is not found ' message, although I know it's there. What am I missing.
>
>I guess I should tell you that this code is running from a toolbar button. I'm using a "login as a different user", and that's why I need to close all running forms.
Previous
Reply
Map
View

Click here to load this message in the networking platform