Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show(1) does not hold
Message
De
23/08/2004 14:07:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Show(1) does not hold
Divers
Thread ID:
00935656
Message ID:
00935656
Vues:
58
Below is a code snippet that I have in my application. If I do not have a good connection from the connect table I want to conditionally show the connection form and stop the processing until that modal form completes.

The thing is that the code is going thru to the main form no matter what I do. How can I conditionally show the connect form and stop any subsequent processing until that modal form completes?
 SELECT good_con FROM Connect WHERE default INTO ARRAY lax
 IF lax[1,1] = .F.
   DO FORM connection WITH .T. && make it modal
*-- Capturing the .T. value in the INIT() for form and doing This.Show(1) if modal
 ENDIF
 
 oMainform = NEWOBJECT( "frmtsmain", "frmtsmain.vcx" )
 IF VARTYPE(oMainForm) = "O"
   oSplash.Release()
   oMainform.show()
   ON SHUTDOWN clear events
   READ events
   ON Shutdown   
 ENDIF
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform