Hey guys, I am needing to detect when the last item in a listbox is selected. I first tried comparing the listbox.items.count with the listbox.selectedIndex, but unfortunately, whenever i load the items from a file to the listbox, there are 1 or two extra items at the end that are blank.
I then tried going to the last index in the listbox, and if it was "", then i went up an item, until i got one that wasn't "", and that would be my last item. Unfortunately, that didn't seem to work.
Is there an easy way to detect the last NON NULL item in a listbox??