Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Right Click Event
Message
De
04/07/2003 12:12:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
04/07/2003 10:25:08
Luis Navas
Independent Consultant
Auckland, Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00799837
Message ID:
00807020
Vues:
24
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform