Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
(Moderator:
Ask
) »
How to Show Caret in TListBox on macOS and Linux
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
« previous
next »
Print
Pages: [
1
]
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]
[+]
[-]
CreateCaret
(
ListBox1
.
Handle
,
0
,
2
,
10
)
;
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)
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
(Moderator:
Ask
) »
How to Show Caret in TListBox on macOS and Linux
TinyPortal
© 2005-2018