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,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com