Information générale
Catégorie:
Codage, syntaxe et commandes
You need only one READ EVENTS per application to tell VFP to stop and react to user input. So you don't need another READ EVENTS in your parent form when calling the child form.
If you have an exit button on the child form, the child form should close itself and send back the exit command to the parent form. The parent form will then close itself down and issue it's CLEAR EVENTS.
HTH
>Another question:
>When myParent form calls a child form should I have it say
>do form myChild
>Read Events
>
>and put a Clear Events in the unload of myChild form?
>
>What about in the case where there is an EXIT button on the myChild form, the click of which has an thisForm.release()
>
>In this case does the Clear Events go into the Unload of the myChild form??
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement