[Lazarus] TShiftState "lock" states in mousewheel events
Flávio Etrusco
flavio.etrusco at gmail.com
Mon Oct 3 18:55:50 CEST 2011
On Mon, Oct 3, 2011 at 1:43 PM, Alexander Klenin <klenin at gmail.com> wrote:
> 2011/10/4 Flávio Etrusco <flavio.etrusco at gmail.com>:
>> BTW, does Delphi support ssAltGr and ssWin?
>
> No: http://docwiki.embarcadero.com/VCL/en/Classes.TShiftState
>
> However, in this case I think Delphi is wrong, since those are real modifiers.
>
> --
> Alexander S. Klenin
Hmm, since Borland itself introduced new modifiers (touch, pen, etc),
shouldn't we consider code that relies on the original enum constants
to be broken? AFAICS the key state will report whether the "lock key"
is pressed down, not it's toggled state.
-Flávio
More information about the Lazarus
mailing list