'lo, in part of my code I have the following line:
frmJobgroupSel.listbox1.items.addobject('Other', pointer(-1));
The listbox is getting "other" added to it fine, but when I try and
reference the pointer passed in, I get "Index out of Range".
This works fine with a combo-box, but seems to give an error with a
listbox, they both use TStrings for the Items property so not sure why the
behaviour is different, any ideas?
Mark
--
There are exceptions, I'm sure, but the Windows 2000 on-line community
seems to have, in general, the moral and spiritual qualities of your
average porn site. (c) Bryan Pfaffenberger, Linux Journal, Jan 2001.
---------------------------------------------------------------------------
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"