Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refer to top level form from child form
Message
De
14/03/2002 18:42:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00633056
Message ID:
00633139
Vues:
19
=CreateObject('MyForm', Thisform)

-=Gary

>>>Chris,
>>
>>The way I do this is to always base my form on my form class. IN that fomr class I have added a property called oCreator and in the Init of the form class I do;
>>
>>
>>LPARAMETERS poCreator
>>This.oCreator = poCreator
>>
>>
>>Then where ever I want to I can address the form's creator by using, Thisform.oCreator.Whatever
>>
>>I then always call a fomr by;
>>
>>
>>DO FORM MyForm WITH Thisform
>>
>
>Thanks this looks as if it do the trick but how do this work if I am using createobject to instantiate the forms?
-=Gary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform