Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Child references to a Parent
Message
De
14/01/1999 09:34:00
Ng Man Kit
Genesis Systems Ltd.
Hong Kong, Hong Kong
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00175863
Message ID:
00175872
Vues:
25
You can call form 'B' from form 'A' in this way,

DO FORM yourform WITH THISFORM

In Init method of form 'B', put this code to gain the reference

LPARAMETERS poParentForm

THISFORM.oParentForm = poParentForm

Afterwards, you can refer to the parent form by THISFORM.oParentForm within form 'B'

e.g.
=MESSAGEBOX(THISFORM.oParentForm.TextBox.Value)



Geoffrey Ng
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform