Hi All,
How do I select a list box control (using code).
I've tried using say
if ListBox1.items.count > 0 then
ListBox1.selected[0] := true; but I get an exception "List Index out of bounds (0)". The help indicates that "selected" can be used to check if the current line is selected but doesn't say if you can use it to set it. Richard Williams
|
- Re: [DUG]: Selecting a TListBox line Richard Williams
- Re: [DUG]: Selecting a TListBox line Aaron Scott-Boddendijk
- Re: [DUG]: Selecting a TListBox line Richard Williams
- Re: [DUG]: Selecting a TListBox line Aaron Scott-Boddendijk
- Re: [DUG]: Selecting a TListBox line Richard Williams
- Re: [DUG]: Selecting a TListBox line Michelle Blyde
- Re: [DUG]: Selecting a TListBox line Richard Williams
- Re: [DUG]: Selecting a TListBox line Aaron Scott-Boddendijk
- Re: [DUG]: Selecting a TListBox line Michelle Blyde