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
trata_caps_lock.7z
Description: Binary data
-- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus