Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I wait until a procedure is done?
Message
De
08/09/2003 14:20:51
 
 
À
06/09/2003 12:11:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00826766
Message ID:
00827206
Vues:
17
>when in the code i call a modal form, vfp waits until the modal form is closed. but when a procedure or a method (thisform.my_method) is fired, vfp doens't wait for the result of that method. this cause me troubles. to solve this problem i use WAIT WINDOW command but that is not interesting.
>how can do that ?
>i want vfp6 wait for the result of a procedure

VFP is not multi-threaded, so as long as you call your method in the same instance of VFP, it can not return before it is finished. Does your method bring up a non-modal form or something like that? What makes you say that the method has not completed?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform