Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to refer the control in the calling form or parent f
Message
De
05/09/2013 03:23:45
 
 
À
05/09/2013 02:39:52
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP3
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01582256
Message ID:
01582257
Vues:
69
J'aime (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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform