> Actually when I said "select" I meant "highlight" an item in the ListBox. In
> fact I want the highlighting to follow the ItemIndex.

You've answered your own question...

Listbox1.items.clear;
Listbox1.Items.Add('1');
Listbox1.Items.Add('2');
Listbox1.Items.Add('3');
Listbox1.Items.Add('4');
Listbox1.ItemIndex := 0;

Highlights the first Item... 
 
> I tried setting Multiselect to true and it works but I don't want the user
> to be able to select more than one at a time. Maybe I'll just have to
> explicitly un-select every item every time I select another (and every time
> the user clicks on one).

In your original piece I assumed you were looking for multiselection.  The
ItemIndex property does what you want.

--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to