Sunday, December 1, 2013

Listbox.selectedIndex returns value of -1

The index is -1 if nothing is selected. You need to add an 'if' statement to check to see if it's -1 and handle that separately.


Wasabi Fan


No comments:

Post a Comment