Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does a form exist? (I'm missing something simple)
Message
 
 
À
30/11/2002 19:44:24
Allen Hanna
H. A. Hanna Associates
Indianola, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00728422
Message ID:
00728426
Vues:
17
Change it to
if type('form2')='O' and NOT ISNULL(form2)
Or itterate through _SCREEN.Forms collection.

>I have an app that has two forms. Each are instantiated using:
>
>do form form1 name form1 linked
>do form form2 name form2 linked
>
>Form1 needs to know if form2 is running. If, from form1 I do:
>
>if type('form2')='O'
>
>it always returns true, even if form2 is closed and no longer operating, but debug will show its value as .null. if it's not running. How can form1 know if form2 is still alive and well?
>
>Thanks a bunch,
>Allen
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform