Disabling a Spinner component

Hi All,

I am seeking a way to disable Spinner component with certain default value selected. But I can’t find a way. Designer simply provides a way to hide it. But I want it should be visible but not enabled. please help.

use any extension or make it invisible+add a image there

well than just set items to empty

As the OP said, it needs to select something. You might need an extension to set clickable to false.

1 Like

Use a button to call the spinner instead of the spinner itself (setting the spinner to 1x1 pixels). Then you can enable/disable the button on spinner selection.

4 Likes

No, I don’t think it’s possible. Which extension should that be?
So you should follow @TimAI2 advice.

I have marked @TimAi2’s post as solution.

Btw, I made an simple extension for that:com.watermelonice.SpinnnerUtil.aix (5.7 KB)

AIA:
switch_btn.aia (6.8 KB)

1 Like

Nice extension!

grafik

Good to know.

1 Like

It can still be dropped down programmatically. Thanks for clarifying!

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.