Hi!
I read your another post and have a solution for you. You definitely CAN use a form's menu. However, you will need to do this on the level of each class in your application and base all form controls and forms on the base classes.
The approach is simple - in the RightClick event of each visual class call "this.Parent.RightClick". this way, if control do not have its own shortcut menu, it will forward right click to parent object. And this up till the form RightClick event is reached. In the form class RightClick code you just show your menu.
HTH.
>What a pitty. I need this functionality and thats something that Fox Cannot do.
>
>Thank You
>
>>Hi!
>>
>>No way in VFP, unless you can make an OCX in another language that is capable to handle Windows events for VFP form frame.
>>
>>>Hello,
>>>
>>>does anybody knows how to track clicks on a forms caption? (left button, right button e.t.c.)
>>>
>>>thank you
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.