>I have a shortcut Menu that I'm using with my application.
>Out of the Procedure in that Shortcut Menu I want to call one of the form's Methods
>For example:
> ThisForm.m_myMethod
>
>I know I cannot do this but how do I call that method?
In addition to what Ed says, you can also refer if as
_screen.activeform.myMethod() But you should be careful (probably make a check) because you may hit "Activeform is not an object" error sometimes.. Referring by name as Ed says is better.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison