Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Sergey,
Here is the code to the Main Program:
Public llOptionForm
llOptionForm = .F.
Do Form password.scx
*Read Events
If llOptionForm
Do Form tvlink.scx
Read Events
Endif
Close data all
Return
What seems to be happening (I have debugged the code) is that when it accesses the code "DO FORM tvlink.scx" it processes through the Form Methods then it still seems to sit on the "Do Form..." command.
The form is displayed to the screen, when I click on the Exit button, this calls the Release Method with in turns calls the Destroy Method. This method executes the Clear Events statement then Returns control back to the Main Program.
But in the Debug Window, the line pointer is pointing to the Read Events command.
The Password Form is OK, even without the Read Events.
Do you know what I am doing wrong?
thanks,
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