Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to track click on forms caption
Message
From
16/10/2001 05:45:39
 
 
To
16/10/2001 05:32:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00568539
Message ID:
00568908
Views:
18
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.com
ICQ #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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform