tremara1 Active Member Licensed User Longtime User Aug 20, 2014 #1 If I want to set the combo selected index to -1 to display prompt text I first have to set it to another value then set it to -1. B4X: cboSnip.SelectedIndex = -1 this displays last item cboSnip.SelectedIndex = 0 cboSnip.SelectedIndex = -1 this works... Have I missed something...
If I want to set the combo selected index to -1 to display prompt text I first have to set it to another value then set it to -1. B4X: cboSnip.SelectedIndex = -1 this displays last item cboSnip.SelectedIndex = 0 cboSnip.SelectedIndex = -1 this works... Have I missed something...
Erel B4X founder Staff member Licensed User Longtime User Aug 20, 2014 #2 Not sure why it happens. The selection is managed by the native Combobox. Upvote 0
tremara1 Active Member Licensed User Longtime User Aug 20, 2014 #3 Erel said: Not sure why it happens. The selection is managed by the native Combobox. Click to expand... I vaguely remember something like this when I was coding Visual Basic.... Upvote 0
Erel said: Not sure why it happens. The selection is managed by the native Combobox. Click to expand... I vaguely remember something like this when I was coding Visual Basic....