No event when user deselects a listbox item?

BlitzMax Forums/BlitzMax Programming/No event when user deselects a listbox item?

Jim Brown:
Checking SelectedGadgetItem(listbox) = -1 will only return if the listbox item is deselected, but not when it is. I need an event because I want to disable the button exactly at the time the user deselects the item.

skidracer:
Win32