Author Topic: How to Show Caret in TListBox on macOS and Linux  (Read 794 times)

msintle

  • Sr. Member
  • ****
  • Posts: 387
How to Show Caret in TListBox on macOS and Linux
« on: January 21, 2024, 05:26:07 pm »
This code works on Windows:

Code: Pascal  [Select][+][-]
  1.   CreateCaret(ListBox1.Handle, 0, 2, 10);
  2.   ShowCaret(ListBox1.Handle);

But does nothing on macOS and/or Linux.

Any ideas on how to get a blinking cursor showing on these platforms?

(demo project attached)

 

TinyPortal © 2005-2018