If you remove all items from an FListBox after selecting an item, it will still report that you have the 0 index selected. Obviously, this bs. After a post on the list, I found some code from a dude with a similiar problem, but no go. So, here’s the best way I know to “reset” the FListBox to go, “Oh yeah, I need to actually look at myself and see if anything is selected before returning bs information.” No, I didn’t look under the hood to find out why… it’s Friday, mofo’s.
Will effectively refresh it, so to speak, and give you the correct index of “undefined” if nothing is selected.