Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return to Master
Message
De
07/03/1999 11:05:23
 
 
À
07/03/1999 10:53:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00194988
Message ID:
00194996
Vues:
25
>I am having difficulty at times having a form release and return to the calling routine (DO FORM from a menu). Code in the load event is something like this:
>
> if control.ct_lastclosed +20 > date()
> messagebox('You must wait...',64,'Attention')
> thisform.release()
> return to master
> endif
>
>I have tried swapping the thisform.release and return to master, removing thisform.release, etc. Am I missing a SET command perhaps? Any help greatly appreciated..
>
>Jamie Flick

I think the functionality you want will come from understanding the program flow with modal and modeless forms. When calling a modeless form, the procedure that called it finishes its course as soon as the form.init finishes running. Calling a modal form transfers control to the form that was called, and the calling code does not run its course until the modal form is released. Does that get you closer to what oyu want to do?
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform