procedure TCategoriesForm.CategoryListClick(Sender: TObject);
var
item : integer;
begin
item := CategoryList.itemindex; {CategoryList is a listbox with 2
items in it}
At runtine, when clicking on an item in the Listbox, the above line
produces an exception EConvertError 'is not a valid integer value'.
Can someone shed some light please.
Cheers,
Ross.
---------------------------------------------------------------------------
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/