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
OpenSSL 3.0 vs Indy's 1.0...
by
PizzaProgram
[
Today
at 09:45:33 pm]
Make build crashes
by
Jonas Maebe
[
Today
at 09:19:49 pm]
CompareText improvement
by
PascalDragon
[
Today
at 09:16:55 pm]
Synapse TCP/IP client and...
by
GetMem
[
Today
at 09:16:46 pm]
InterProcessCommunication...
by
BosseB
[
Today
at 09:15:40 pm]
When PC "sleeps" program ...
by
PascalDragon
[
Today
at 09:14:51 pm]
Question about IdMappedPo...
by
Remy Lebeau
[
Today
at 08:59:36 pm]
[Solved] Can a thumbnail ...
by
loaded
[
Today
at 08:49:10 pm]
fpc 3.3.1 or lazarus 2.3 ...
by
edgarrod71
[
Today
at 08:26:31 pm]
Help with HelpnDoc script...
by
cdbc
[
Today
at 07:32:08 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: ListView - store id inside elements (Read 1253 times)
howardpc
Hero Member
Posts: 4121
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