VK_codes lazarus / 31-LCL ---------------------------------------------------------------------- MarkMLl ยท 2020-01-12 21:21 Lazarus trunk (but not updated for a couple of weeks) and FPC 3.0.4, Linux with GTK2 on KDE desktop. If I use WidgetSet.GetKeyState() to examine shift key states, for the left shift I see VK_SHIFT+VK_LSHIFT but for the right shift I see all of VK_SHIFT+VK_LSHIFT+VK_RSHIFT (i.e. three codes simultaneously). I see the same behaviour for the control keys, but not for the windows keys. Is this the expected behaviour? I also notice that AltGr is showing up as 227 ($E3) at least on a UK keyboard, which is down as OEM-specific. Can anybody else comment on whether this is generally reliable, and if it is should it be added to the LCL? MarkMLl