Page 1 of 1

How to make the Spinner widget spin faster?

Posted: Fri Apr 08, 2022 10:34 am
by liveCode
How to make the Spinner widget spin faster?

Re: How to make the Spinner widget spin faster?

Posted: Fri Apr 08, 2022 1:11 pm
by richmond62
SShot 2022-04-08 at 15.10.17.png
-
The only way I found to change its speed was to change the Marker count.

Re: How to make the Spinner widget spin faster?

Posted: Fri Apr 08, 2022 10:01 pm
by bn
The refresh rate/spinning speed is hard coded into the widget as a constant and the widget advances ever 0.3 seconds. It is not settable from the outside of the widget.

Kind regards
Bernd

Re: How to make the Spinner widget spin faster?

Posted: Sat Apr 09, 2022 10:34 am
by Klaus
A rule of thumb:
If the inspector does not provide a way to change any property or value etc. of an object, then there is no way to do that!

There are some very, very, VERY few exeptions however.

Re: How to make the Spinner widget spin faster?

Posted: Sat Apr 09, 2022 1:51 pm
by richmond62
SShot 2022-04-09 at 15.49.12.png
-
Grow your own. 8)

Re: How to make the Spinner widget spin faster?

Posted: Sat Apr 09, 2022 3:59 pm
by richmond62
For anyone interested, to generate the static images for the stack above, I ran a simple

Code: Select all

repeat until
loop, importing snapshots of the spinner widget every 7 ticks.

The only snag is that one ends up with bitmapped images that cannot be scaled very well should that be needed.

The FACT that very few widgets are able to be tweaked in any useful way does tend to make me anti-widget.

Re: How to make the Spinner widget spin faster?

Posted: Sat Apr 09, 2022 5:09 pm
by richmond62
Spin_Dryer.jpg
-
It is a very good thing indeed that my holiday is about to finish.

This 'thing' consists of 9 graphics, and the central one (the rotation path) can be dragged around.

Everything could be scaleable if someone more driven than me could be bothered.

The SPEED is set in the SPIN button script.

Disclaimer: No widgets were harmed during the making of this stack. 8)

Re: How to make the Spinner widget spin faster?

Posted: Sat Apr 09, 2022 7:10 pm
by liveCode
Thank you all

Re: How to make the Spinner widget spin faster?

Posted: Sun Apr 10, 2022 5:11 pm
by jacque
richmond62 wrote:
Sat Apr 09, 2022 3:59 pm
The FACT that very few widgets are able to be tweaked in any useful way does tend to make me anti-widget.
It's possible if you learn LCB. I find some of the widgets to be quite useful even if untweaked, particularly the browser widget.

Re: How to make the Spinner widget spin faster?

Posted: Sun Apr 10, 2022 5:13 pm
by richmond62
It's possible if you learn LCB.
I would not doubt that for a moment.

However, maybe I expect too much to be able to do everything inwith a single programming language.