G Giorgio75 Member Licensed User Nov 5, 2016 #1 Good evening everyone, I'm new and just recently I'm starting to program in B4A so I apologize for maybe trivial question. How can I create the click event in a spinner object by code? I have virtually simulate the manual selection of a particular item in the spinner. Thanks to everyone in advance.
Good evening everyone, I'm new and just recently I'm starting to program in B4A so I apologize for maybe trivial question. How can I create the click event in a spinner object by code? I have virtually simulate the manual selection of a particular item in the spinner. Thanks to everyone in advance.
Erel B4X founder Staff member Licensed User Longtime User Nov 6, 2016 #3 Note that it will not raise the ItemClick event. However you can raise it yourself: Code: Copy Spinner1.SelectedIndex = X Spinner1_ItemClick (Spinner1.SelectedIndex, Spinner1.SelectedItem) Upvote 0
Note that it will not raise the ItemClick event. However you can raise it yourself: Code: Copy Spinner1.SelectedIndex = X Spinner1_ItemClick (Spinner1.SelectedIndex, Spinner1.SelectedItem)