Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to track click on forms caption
Message
From
16/10/2001 08:37:50
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00568539
Message ID:
00568945
Views:
14
This would require to touch all the visual classes a thing that i dont want to do. I would like to do it by just add the functionality into the parent class of the form

Thank you

>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
Previous
Reply
Map
View

Click here to load this message in the networking platform