Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there any easy way to control ?
Message
De
23/04/2006 20:36:24
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
22/04/2006 23:39:17
Hee Lim Wang
Fantasy Software Enterprise
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01115659
Message ID:
01115850
Vues:
11
>but my form will call the sub form and the sub form also will call
>the sub-sub form. so how to pass so many variables to sub-sub form and
>return those variables back to the top form ?

The caller form can pass itself as a parameter to the next form. The next form can have a property to keep the reference for the caller... like this:
*--form2 init
lparameteres toCaller
this.addproperty("oCaller", toCaller)
Then form1 calls the form2 like this:
do form form2 with this
and form2 can do whatever it takes to form1:
*-- some method in a control in form2:
thisform.oCaller.someProperty=this.value
Just in case, in form2.destroy:
this.oCaller=.null.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform