Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there any easy way to control ?
Message
From
23/04/2006 20:36:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
22/04/2006 23:39:17
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01115659
Message ID:
01115850
Views:
10
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform