Gentlefolk,
My environment/s :Win10, Laz 2.0.10, FPC 3.2.0, Linux Mint 20.1 2.0.12, FPC 3.2.0.
My problem:
In both environments I have a simple form with a StringGrid. I have a single event handler 'OnKeyDown' on the StringGrid.
In both environments any alpha keyboard input is presented in UPPER CASE.
I have used a crash and the 'View/DebugWidows/CallStack to chase the entry of the lower case 'a'.
The input is a uppercase 'A' all the way: As shown in the following:
Any ideas why no lower case in StringGrid????? Ian
#0 fpc_raiseexception at :0
#1 GETCELLS(0x15a2d50, 1, 999) at grids.pas:9942
#2 SETCELLS(0x15fdee0, 1, 999, 0x15a48e8 'A') at grids.pas:10996
#3 STRINGGRID1KEYDOWN(0x15fc500, 0x15fdee0, 65, []) at unit1.pas:46
#4 KEYDOWN(0x15fdee0, 65, []) at include\wincontrol.inc:5674
#5 KEYDOWN(0x15fdee0, 65, []) at grids.pas:7389
#6 KEYDOWN(0x15fdee0, 65, []) at grids.pas:10663
#7 KEYDOWNBEFOREINTERFACE(0x15fdee0, 65, []) at include\wincontrol.inc:5684.......
#8 DOKEYDOWNBEFOREINTERFACE(0x15fdee0, {MSG = 48384, UNUSEDMSG = 0, CHARCODE = 65......
Surely