Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_SCREEN
Message
 
À
10/12/1999 12:47:23
Jacky Yuen
Myth Group Computer Technology
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00301827
Message ID:
00301842
Vues:
31
The best way to do it is pass a refrence of mainform object to the replace form as a parameter. Like:


do form replace with thisform


Then in the init method of replace form have:


LParameter voMainForm

** oMainForm is a custom Property of replace
ThisForm.oMainForm = voMainForm


Whenever you need to reference something on the mainform just use something like:

Thisform.oMainForm.SomeTextBox.Value = "New Value"
Rip Ryness
International Falls, MN
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform