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
Send a control name to a ...
by
andyf97
[
Today
at 09:56:14 pm]
Synapse for oAuth1 with w...
by
rvk
[
Today
at 09:47:41 pm]
Fullscreen event?
by
Espectr0
[
Today
at 09:40:52 pm]
How to display barcode co...
by
jmpessoa
[
Today
at 09:03:18 pm]
Examples of third-party p...
by
JuhaManninen
[
Today
at 08:42:00 pm]
Setting TStringGrid exten...
by
Blaazen
[
Today
at 08:31:08 pm]
[SOLVED] Font question
by
Pe3s
[
Today
at 08:17:50 pm]
centered text in progress...
by
wp
[
Today
at 08:05:53 pm]
MyDbfStudio - New Admin t...
by
vinceducat
[
Today
at 07:39:14 pm]
Question about IdMappedPo...
by
Remy Lebeau
[
Today
at 07:37:22 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: ListView - store id inside elements (Read 1248 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