Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by DeddyH,
22. Aug 2007
New question -> new thread ;)
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by DeddyH,
22. Aug 2007
for i := 0 to ListView1.Items.Count - 1 do begin
if ListView1.Items.Checked then
List_With_Indices.Add(i); //you have to implement this yourself
end;
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by DeddyH,
22. Aug 2007
Or use a TList to store every index.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by DeddyH,
22. Aug 2007
What' s your aim? Do you want to know if any of the items is checked?
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by DeddyH,
22. Aug 2007
Hi,
I cannot check this at the moment, but I guess, listview1.VisibleItems contains the number of items actually visible. If all items are visible you will get an index error because the last item will have the index listview1.VisibleItems - 1.