[Lazarus] TShiftState "lock" states in mousewheel events

Alexander Klenin klenin at gmail.com
Mon Oct 3 09:20:15 CEST 2011

The TShiftState enum in LCL includes ssNum, ssCaps and ssScroll elements,
which should indicate the state of NumLock, CapsLock and ScrollLock

However under Win32 KeyDown/Up and MoudeUp/Down/Move events do not
recieve these elements, while MouseWheel events do.
This required a workaround at least for TAChart:

Delphi does not have these elements, and, since they are usually not
working anyway,
I suggest to remove them.

Alexander S. Klenin

More information about the Lazarus mailing list