How to preselect a caplock in a TouchKeyboard component

I am working with Delphi TTouchKeyboard component. Because in the future the use of people will mainly use capital letters, I would like to pre-select caplock. My problem is that the Touchkeyboard only changes the title when a key is pressed. If the state is toggled with a (external) firmware message, capital letters can be used, but the keyboard component will still carry small letters on the keys. How can I solve this?

+3


source to share


1 answer


As far as I can see, the only desktop is to edit the source code.

http://qc.embarcadero.com/wc/qcmain.aspx?d=88770 (I haven't tested it)



I tried to write a patch with this code, but without any luck, because I cannot access the private Fbuttons field.

So, if you want this, you will have to fix the original code

+1


source







All Articles