>
>Antonio,
>
>Wow, how difficult can this be??
>Now erroring: ToForm is not an object ;(
>
>suppose I must work with the pubic variables, which worked. ;((
>
>regards,
>
>Koen
If VFP is complaining on toForm not being an object, then the problem is in the way you're calling the menu.
It must be:
DO the-name-of-the-menu.mpr WITH Thisform
if inside a method/event code of the form or one of its objects, or with an explicit reference to the form in other cases.
Otherwise, toForm is an .F., as any other unused but declared parameter.
----------------------------------
António Tavares Lopes