Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing object reference to a new form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Passing object reference to a new form
Divers
Thread ID:
00322790
Message ID:
00322790
Vues:
45
I've got a form I'm working on where on the "parent" form I've got an object instanced called oNotation - it has the properties of cUserID and cMessage (among others). When the user clicks on an Add button I open a new form and pass the oNotation object reference to the new form. I'd like to bind some of the controls directly to the properties of oNotation but can't since the object reference isn't valid until it hits the Init() of the form. I can work around the problem by recreating the oNotation properties on the form, then binding to those instead (of course, copying the oNotation property values to the form and back again when they save). But I was wondering if there was any other ways of handling this - mostly out of curiosity I guess.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform