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
How to have a generic enu...
by
PascalDragon
[
Today
at 11:07:46 pm]
WebLaz corrections
by
edgarrod71
[
Today
at 10:54:41 pm]
An ASCII logo for Pascal ...
by
domasz
[
Today
at 10:53:50 pm]
printing stuff
by
wp
[
Today
at 10:35:51 pm]
Flickering with TCustomCo...
by
deadbeef
[
Today
at 09:46:03 pm]
TGroupBox WMPaint ...
by
Espectr0
[
Today
at 06:52:13 pm]
[SOLVED] Timer
by
Pe3s
[
Today
at 06:30:34 pm]
Use of FreePascal package...
by
Thaddy
[
Today
at 06:05:51 pm]
Dark Theme in my program?
by
d7_2_laz
[
Today
at 05:52:40 pm]
IBTable - user defined se...
by
korba812
[
Today
at 04:57:30 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: ListView - store id inside elements (Read 1229 times)
howardpc
Hero Member
Posts: 4117
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