Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Network:
Windows 2008 Server
>>>>Hi All,
>>>>Is there a way catch if shift key pressing at toolbar buttons click method?
>>>You don't need to go to the API for this. MouseDown has a parameter that tells you what keys are pressed. Capture the information there.
>>>Tamar
>>This's excellent, changed Rick's code with this. Thanks both of you... :)
>
>
>Oh sure, Metin. One piece of better advice from Tamar and you abandon me? C'mon ... where's the loyalty, man? :-) LOL! Us guys need to stick together! :-)
Rick, just want to comment that often you seem to jump to an API solution when VFP offers a native solution. In my view, whenever you can do it with the language, it's a better choice to do so, if for no other reasonable than maintainability. One or two lines of VFP code is easier to understand than a block of code calling on the API.
Tamar
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement