Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Without partameters
Message
De
29/11/1999 19:02:06
 
 
À
29/11/1999 16:47:50
Ian Johnston
Computer Software Solutions
Woodland, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00296559
Message ID:
00296608
Vues:
21
>How would I reference objects on a form from the init of a new form, without having to pass a bunch of parameters ?

Pass the object reference for the old form into the new form as a parameter; for example, if you create the new form instance from a method of the old form, you could pass the single parameter thisform to the init of the new form, save it as a form property of the new form, and reference members of the old form through the new form's the form property.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform