Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form A and Form B
Message
De
31/07/2010 20:31:31
 
 
À
31/07/2010 20:05:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01474760
Message ID:
01474765
Vues:
25
>>>With help last week from Naomi and Hilmar I am able to check for the existence of form b (called from form a) and close it from
>>>form a. (See Thread 1473802)
>>>Now I'd like to execute a method in Form B called from an event in Form A. Is that possible?
>>
>>DO FORM MyFirstForm NAME oMyFirstForm LINKED
>>
>>DO FORM MySecondForm NAME OMySecondForm LINKED
>>
>>* from any method in MyFirstForm execute this
>>
>>IF vartype(oMySecondForm) = 'O'
>>oMySecondForm.MyMethodInSecondForm()
>>ENDIF
>
>
>Thank you. The second form closes on init... if I omit LINKED, it stays open, but that defeats the purpose!
>
>dg
>
>do the second form modal


The second form can not be modal according to my program protocols. Thanks thought.

dg
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform