Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing all Running forms
Message
De
19/10/1999 14:15:58
 
 
À
19/10/1999 14:10:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00278293
Message ID:
00278369
Vues:
18
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform