General information
Category:
Forms & Form designer
Environment versions
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
I often assume that by the time a person gets here and is asking a particular question, that there is some reason why they haven't been able to do it through the normal VFP facilities, so I offer a solution that I know will always work.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only