Re: [lazarus] Shift state in Keyboard events

2007-08-05 Thread Marc Weustink
Valdas Jankūnas wrote: Hi, if i press _only_ Alt key then in OnKeyDown i get (ssAlt in Shift)=False and if i release that Alt key then in OnKeyUp i get (ssAlt in Shift)=True I think that is not correct, if i press Alt key (only, no combine wit other Keys) then i must get ssAlt in Shif

[lazarus] Shift state in Keyboard events

2007-08-05 Thread Valdas Jankūnas
Hi, if i press _only_ Alt key then in OnKeyDown i get (ssAlt in Shift)=False and if i release that Alt key then in OnKeyUp i get (ssAlt in Shift)=True I think that is not correct, if i press Alt key (only, no combine wit other Keys) then i must get ssAlt in Shift. Or not? Ctrl and Sh