Guest_imported
New member
- Jan 1, 1970
- 0
How can I know if there is a selected item on a list box?
I thought this worked as for the comboboxes, ie, the ListIndex property would return -1. But now I figured that this property will return 0 if there is no selected item or if the first one is selected, so I don't really know how can I detect if the list box as a selected item or not. Anyone can help?
I thought this worked as for the comboboxes, ie, the ListIndex property would return -1. But now I figured that this property will return 0 if there is no selected item or if the first one is selected, so I don't really know how can I detect if the list box as a selected item or not. Anyone can help?