Set ComboBox to "unselected?"

BlitzMax Forums/BlitzMax Programming/Set ComboBox to "unselected?"

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

SelectedGadgetItem still returns -1 to mean "no item", so if you want to save the selection-state of an item gadget to a variable, and then re-apply it later on using SelectGadgetItem, you'll have to make a special case for -1.