Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Right-mouse click menu?
Message
 
 
To
04/12/2005 15:56:24
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01074766
Message ID:
01074775
Views:
21
>>>
>>>you can create the popup menu and execute it on program startup and in rightclick event of apropriate object call it by activating popup menu
>>
>>I guess what you are saying is that I have to activate this popup menu in every object where I want it to be active. Obviously, I was hoping that I could do it in more of a "global" approach. But if this is the only way, so be it.
>>
>>Thank you very much for your help.
>
>you can use bindevent() approach. setup the binding of rightclick for every base class to be paired with your application object method and voila, you're set. one place to put the activate popup code for all objects at once.

Thank you very much for this suggestion. I will try it.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform