How to make the Spinner widget spin faster?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
How to make the Spinner widget spin faster?
How to make the Spinner widget spin faster?
-
- Livecode Opensource Backer
- Posts: 9285
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: How to make the Spinner widget spin faster?
The only way I found to change its speed was to change the Marker count.
-
- VIP Livecode Opensource Backer
- Posts: 3990
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: How to make the Spinner widget spin faster?
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
Kind regards
Bernd
Re: How to make the Spinner widget spin faster?
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.
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.
-
- Livecode Opensource Backer
- Posts: 9285
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: How to make the Spinner widget spin faster?
Grow your own.
- Attachments
-
- SPIN DOCTOR.livecode.zip
- Stack.
- (13.04 KiB) Downloaded 68 times
-
- Livecode Opensource Backer
- Posts: 9285
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: How to make the Spinner widget spin faster?
For anyone interested, to generate the static images for the stack above, I ran a simple
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.
Code: Select all
repeat until
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.
-
- Livecode Opensource Backer
- Posts: 9285
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: How to make the Spinner widget spin faster?
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.
- Attachments
-
- SPIN DRYER.livecode.zip
- Stack.
- (8.02 KiB) Downloaded 67 times
Re: How to make the Spinner widget spin faster?
Thank you all
-
- VIP Livecode Opensource Backer
- Posts: 7214
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: How to make the Spinner widget spin faster?
It's possible if you learn LCB. I find some of the widgets to be quite useful even if untweaked, particularly the browser widget.richmond62 wrote: ↑Sat Apr 09, 2022 3:59 pmThe FACT that very few widgets are able to be tweaked in any useful way does tend to make me anti-widget.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Livecode Opensource Backer
- Posts: 9285
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: How to make the Spinner widget spin faster?
I would not doubt that for a moment.It's possible if you learn LCB.
However, maybe I expect too much to be able to do everything inwith a single programming language.