Thanks,
Bye.
--- posted by geoForum on http://delphi.newswhat.com
That functionality is not available in a combobox (which is a Windows
control).
However, you can easily work around the index issue: rather than depending
on the Combobox's ItemIndex, store your own index in the Objects property of
each item, or alternatively (if you need the Objects property for something
else), keep the complete list of items in a separate StringList and then
look up the selected item in that list to get its index.
--
Wayne Niddery - Winwright, Inc. (www.winwright.ca)