At 12:19 am 23/09/02, you wrote: >OK I give up. How do you HighLight a line of text in a ListBox? > >Kevin
Done with the ItemIndex property. Simply set ListBox1.ItemIndex to the line you want highlighted remembering that ItemIndex starts at line 0. Set ItemIndex to -1 to select no line. Steve --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/