Am 2017-02-08 um 23:26 schrieb Vojtěch Čihák:
> when you press CTRL+Q you will obtain two OnKeyDown events. The first with 
Key=17 (it is CTRL) and the second with Key=81 (Q). Both events will have ssCtrl 
in Shift.

Yep, it makes sense for OnKeyDown.
Thanks for the explanation.

I don't know why I was under the impression that it
did not work. It works now just the way I coded
it from start. I may have got bewildered by some other
problem I got with my code...

BTW:
When Ctrl is pressed, then Shift is empty (which is expected).
Only on the second key Q Shift contains ssCtrl.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to