Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00101751
Message ID:
00102138
Views:
25
>Jose,
>
>>How can I pass a parameter to a CListObjEditForm form ?
>
>There are two ways to accomplish this.
>
>1) If you only need to reference a value in the calling form, from within the CListObjEditForm you can reference the calling form by means of Thisform.oCallingform..
>
>2) If you truly want to pass a parameter, you can override the default method and pass a new parameter as follows:
>
>*--- Duplicate the default parameters and add your own at the end
>LPARAMETERS tlAddMode, toCallingForm, toCallingFormListObj, tuMyNewParm
>
>*--- Possibly save the value of the parameter
>ThisForm.uMyNewParm = tuMyNewParm
>
>*--- Run the default method and pass the parameters
>RETURN DODEFAULT(tlAddMode, toCallingForm, toCallingFormListObj)
>
>Regards,

This form will be called by 3 different forms and I only needed to know what was the calling form and I used toCallingForm.Name.

Regards,
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Previous
Reply
Map
View

Click here to load this message in the networking platform