Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedures in forms?
Message
De
30/01/2004 03:07:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00872187
Message ID:
00872203
Vues:
15
I breaks some OOP principles, but you could call your child forms with a reference to the parent form, then you have access to the parent methods and properties:

* Call the child form
do form MyChildForm with thisform

* Init section of child form
lparameters loParentForm
thisform.createproperty('oParentForm', loParentForm)

* From Child Form, samples of method or propertie access
thisform.oParentform.MyMethod()
thisform.oParentForm.MyProperty = NewValue
Gensoft Sàrl
Christian Carron
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform