S sconlon Active Member Licensed User Longtime User May 21, 2018 #1 When a spinner dropdown is shown and you click elsewhere, i.e. to 'cancel' the dropdown, is there an event that you can capture?
When a spinner dropdown is shown and you click elsewhere, i.e. to 'cancel' the dropdown, is there an event that you can capture?
S sconlon Active Member Licensed User Longtime User May 22, 2018 #3 Perhaps there is some other way to achieve what I'm trying to do. I have a spinner with a list of countries but I don't want the spinner to be visible until it is needed so I will 'hide' it behind a label. When the user clicks the label it is made invisible and the spinner shown. When an item is selected it is put in the label which is once again shown and the spinner hidden. Problem is that when the spinner is shown and the user clicks elsewhere the spinner remains visible as there is no itemclick event in which it can be hidden. Upvote 0
Perhaps there is some other way to achieve what I'm trying to do. I have a spinner with a list of countries but I don't want the spinner to be visible until it is needed so I will 'hide' it behind a label. When the user clicks the label it is made invisible and the spinner shown. When an item is selected it is put in the label which is once again shown and the spinner hidden. Problem is that when the spinner is shown and the user clicks elsewhere the spinner remains visible as there is no itemclick event in which it can be hidden.
Erel B4X founder Staff member Licensed User Longtime User May 22, 2018 #4 Maybe use InputListAsync instead of a spinner? Upvote 0
JordiCP Expert Licensed User Longtime User May 22, 2018 #5 You can try with something like THIS Upvote 0
S sconlon Active Member Licensed User Longtime User May 22, 2018 #6 Good suggestion JordiCP but I will go with Erel's suggestion which works very well. Upvote 0