>Hi All:
>
>Im Using VFP6 and i have this Problem :
>
>I Have a form that as its shortcut menu (you can Rightclick on the form and have a menu to do somethings), in this shortcut menu i refer to some form methods like Myform.Mymethod().
>It all works fine in a MODAL form but if i change the type of the form to MODELESS when i try to run the shortcut menu gives an error :
>
>Object Myform is not found
>
>So ... what is it? Modeless Forms are not objects ?
Pedro,
Modeless forms are objects they just don't always have the name you expect. Make your menu code generic by referring to _screen.activeform.Whatever