Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Catch if shift key pressing at toolbar buttons click met
Message
From
10/03/2014 08:09:58
 
 
To
09/03/2014 22:01:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01595966
Message ID:
01596008
Views:
104
>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform