Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Showing A Form
Message
 
À
30/11/2000 09:40:46
Todd Wolfe
Certified Marketing Services
Kinderhook, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00447310
Message ID:
00447381
Vues:
10
>Is there a way I can have stand_alone pass values back to my formset?

Hmmm - that sounds like a little bit of a messy framework :)

But, there are a couple ways to do what you need. A simple technique is to launch the child form with a NAME clause, with a formset property. For your case, create a formset property something like Childform. Now launch the stand alone child form like this:

DO FORM MyChildFormName NAME thisformset.Childform

Now the stand alone form is an object of the formset (sort of a temporary virtual formset form), and you can access the formset from the stand alone form directly, like

myformsetSCXname.myproperty = ...

or

myformsetSCXname.form12.something = ...

or call a method

myformsetSCXname.mymethod()

all direct assignments/calls from the child stand alone form, if you see what I'm getting at here.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform