Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
Beginners
(Moderators:
FPK
,
Tomas Hajny
) »
ListView - store id inside elements
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
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Forum implosion
by
wp
[
Today
at 02:14:05 pm]
TActionList group...
by
wp
[
Today
at 02:11:33 pm]
string.StartsWith vs. UTF...
by
JuhaManninen
[
Today
at 01:31:50 pm]
How to stop Lazarus sorti...
by
Thaddy
[
Today
at 12:44:41 pm]
Anyone know how to change...
by
andyf97
[
Today
at 12:21:06 pm]
Opencv version 4.6 C++ AP...
by
gidesa
[
Today
at 11:57:30 am]
Save as PDF with PowerPDF
by
Nicola Gorlandi
[
Today
at 10:20:01 am]
Synapse TCP/IP client and...
by
GetMem
[
Today
at 09:41:37 am]
The behaviour of AutoComp...
by
bpranoto
[
Today
at 09:41:27 am]
Incomplete CallStack in p...
by
Thaddy
[
Today
at 09:39:00 am]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: ListView - store id inside elements (Read 1262 times)
howardpc
Hero Member
Posts: 4122
Re: ListView - store id inside elements
«
Reply #15 on:
January 25, 2023, 09:31:40 pm »
The Checklistbox's Selected[] array property tells you which indexes are selected, and the Checked[] array property tells you which indexes are checked.
Attached is a project which illustrates the use of Checked[].
Logged
noszone
New Member
Posts: 46
Re: ListView - store id inside elements
«
Reply #16 on:
January 27, 2023, 07:19:44 pm »
I've tested and learned many things while inspected the code of GetMem and howardpc. It looks as I should follow same way as described in provided code. Thank you, folks.
Logged
Print
Pages:
1
[
2
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
Beginners
(Moderators:
FPK
,
Tomas Hajny
) »
ListView - store id inside elements
TinyPortal
© 2005-2018