On Wed, 30 Mar 2011 15:52:57 +0200
Darius Blaszyk <[email protected]> wrote:

>[...]
> 2) OnKeyDown and OnKeyUp for TForm always give an uppercase value for the key,

The Key parameter is the virtual key code.


> only OnKeyPress gives the correct character (lower or uppercase) for win32. 
> On Mac however I got the right value for the key that fired the method each 
> time.

How can a virtual key code give upper or lower case? Maybe you mean
ssShift is not set correct in the Shift parameter under Windows?


Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to