Spinner with no SelectedIndex

GaNdAlF89

Active Member
Licensed User
Longtime User
I add some values to a spinner, but at the end of this operation I want that no item item is selected by default...How can I do?

I tried with myspinner.SelectedIndex = -1 but it don't works
 

Mahares

Expert
Licensed User
Longtime User
Usually what I do in that case, I add an empty string to the spinner as the first item.
B4X:
spntest.add("")
 
Upvote 0

Dman

Active Member
Licensed User
Longtime User
No, that's just how I like to do it so the clicky can say and look whatever and however I want it to.

Clicky, now that's a technical term, isn't it? LOL
 
Upvote 0
Top