Hello,
when holding the ALT-key and pressing a button, application.getLastKeyModifiers delivers 24. When doing the same onAction on a field in table view, it delivers 16.
Am I missing something?
Thanks
Patrick
Hello,
when holding the ALT-key and pressing a button, application.getLastKeyModifiers delivers 24. When doing the same onAction on a field in table view, it delivers 16.
Am I missing something?
Thanks
Patrick
Check out the documentation on using bitwise operators
Thanks, I have. But if you use application.getLastKeyModifiers on a field or on a button, it should return the same bits when holding the same key, shouldn’t it?
Hello Patrick,
I have the same problem with the Alt-key on a field in Table view. Only the Shift-key and the ctrl-key are working fine. Did you find an answer to this problem?
Thanks
Thomas
My experiences tonight lead me to believe the (left) mouse button adds 16 to the total. I have a method called both by a button and a field (onAction); the total is always 16 greater when it is called from the button.