Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to refer the control in the calling form or parent f
Message
From
05/09/2013 03:23:45
 
 
To
05/09/2013 02:39:52
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP3
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01582256
Message ID:
01582257
Views:
70
Likes (1)
I would recommend an object:
o = createObject('Empty')
addproperty(m.o, 'myParm1', myValue1)
addproperty(m.o, 'myParm2', myValue2)
...

do form otherForm with m.o

procedure otherForm.init
lparameters oParm
this.Object.Value = m.oParm.myParm1
...
>Hi,
>I have a form to call another form, let say Form A calling Form B,
>I want to assign the textbox control value in Form B which is value of the textbox control from Form A.
>
>For example:
>Form A -> thisform.txtclientcode.value = "ABC"
>
>Form B -> thisform.txtclientcode.value = Form A.txtclientcode.value
>
>I need to passing about 20 values from Form A to Form B, using Array or other method ?
>Which is better method ?
>
>Please advise.
>Thanks.
>Derek Yim
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform