🟧 Spinner Setup

The spinner component is an odd thing, and requires some rigour to get control of it.
This is how I usually setup a spinner so that all the selections are available every time. I use a button to set the selection and call the spinner dropdown, and "hide" the spinner by setting its height and width to 1 pixel each. If placed inside a centred horizontal arrangement, the spinner should be invisible in all themes.

By adding a "Close Menu" selection (it can be called what ever you want) at the first index, and by setting this before calling the drop down, all preferred selections are available, and selecting "Close Menu" from the drop down does nothing other than close the drop down. You then use if/else blocks to action the other selections as required.



spinnerSetup.aia (2.7 KB)


2 posts were merged into an existing topic: Spinner not opening new screen?

The only way I could get the spinner to work properly is to set "Spinner Visible to True" when clicking on the Button and setting "Spinner Visible to False" at the end of AfterSelecting spinner.

That is one way of doing it, but it should work if the spinner is always visible, but you resize it to 1x1 pixels to make it, to all intents and purposes, invisible. (Depends then on its placement on the screen)