Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling one form from another
Message
De
04/09/2002 11:34:35
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00696163
Message ID:
00696640
Vues:
9
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
Fil
Voir

Click here to load this message in the networking platform