Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Right Click Event
Message
From
04/07/2003 12:12:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
04/07/2003 10:25:08
Luis Navas
Independent Consultant
Auckland, New Zealand
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00799837
Message ID:
00807020
Views:
23
>>>Just wondering. I have in all my controls a emergent menu that activates when the user right click on it. But when i use the KEY for that menus in those keyboards that has this special KEY, i only get this caracter Ÿ. I now that the VFP objects are created by VFP it self. But if you use this KEY in other programs, inclusive in VFP it self you will get the shortcut menu associated with the control. Is there anyway to cath this KEY to show the menu?
>>>Thanks.
>>>
>>>Luis Navas
>>
>>Do you mean this ?
>>
>>LPARAMETERS nKeyCode, nShiftAltCtrl
>>If nKeyCode = 93 and nShiftAltCtrl = 1
>> NoDefault
>> *do myShcut with this
>>endif
>>
Cetin
>
>Yes Cetin, thanks, but this will put the menu at the coordinates of the mouse, 'cause the menu generator does this, so i changed the menu to receive some parameters as coordenates, but how can i get the coordenates of the object that calls the menu?
>
>Luis

Luis,
Sorry couldn't understand what's the difference between " of the object that calls the menu " and the object passed to menu.

do myShcut with this

*myShCut.mpr
lparameters toObject
lnTop=objtoclient(toObject,1)
...

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform