[Lazarus] Handling the Caps Lock key

Jose Chao jose.dachao at gmail.com
Fri Dec 20 11:52:14 CET 2024


Por favor, remova a linha Sleep(50) do evento OnTimer.

Saudação de Pinhalzinho/SP - Brasil

José Chão


Em sex., 20 de dez. de 2024 às 07:44, Jose Chao <jose.dachao at gmail.com>
escreveu:

> Hello everyone.
> How are you Ari?
> After a few changes it worked for me.
> Code attached to this message.
>
> Greetings from Pinhalzinho/SP - Brazil
>
> José Chão
>
>
> Em dom., 15 de dez. de 2024 às 14:18, Arí Ricardo Ody via lazarus <
> lazarus at lists.lazarus-ide.org> escreveu:
>
>> I posted a question earlier about how to handle and display the status of
>> the CapsOn keys since my keyboard has no indicator.
>>
>> With the help of chatGPT I put together a small program that tries to do
>> this by checking the status and trying to change the Text property of a
>> TEdit object. It turns out that every time I run the program I get an
>> "Access Violation". I'm attaching the project files and would like to see
>> if anyone is willing to tell me what's wrong. I'm using Lazarus 3.6 on
>> Windows 11.
>>
>> Greetings from São Paulo - Brazil
>>
>> Arí Ricardo
>> --
>> _______________________________________________
>> lazarus mailing list
>> lazarus at lists.lazarus-ide.org
>> https://lists.lazarus-ide.org/listinfo/lazarus
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20241220/90030449/attachment.htm>


More information about the lazarus mailing list