Page 1 of 1
Animated gauge component
Posted: Wednesday 26th October 2016 7:06pm
by jornmo
Working on making animated gauge components:
This is just a rough draft that I hope to refine more and release on the farm.
I had good help from my friend with the sinus curve and the bouncing formula for what I initially asked here:
viewtopic.php?f=4&t=5
Re: Animated gauge component
Posted: Wednesday 26th October 2016 7:20pm
by jornmo
Re: Animated gauge component
Posted: Saturday 18th August 2018 9:13pm
by Askjerry
Very nice! If I can figure out how to connect with the Beaglebone... this could come in useful as a display!
Thank you!
Re: Animated gauge component
Posted: Thursday 23rd August 2018 3:25pm
by jornmo
Makes me happy to hear that!
Re: Animated gauge component
Posted: Saturday 28th March 2020 11:08am
by Serban
Looks great!
I'll think about some ways to use it.
The first idea that crossed my mind is for some web app to test
net speed. This seems to be the best fit so far...
Another idea, would be to make it a widget and pop it up if some procedure sucks a lot of time to finish.
Something like:
'--- Some time sucking loop...
While...
If lngTimerNow - lngTimerStart > 100 Then
AniGauge.Show
Else
AniGauge.Close
End If
Wend
In DirLister, there are this kind of operations that take a long time. While i have the mechanism to show something that gives a clue on what's happening inside, I'm looking forward for better solutions, that might reduce the pressure on system resources.
Any idea would be a great help.
DirLister is available on
Gambas Farm: ID=755.
For the widget version, the defalult settings would be nice to be "Centered" so when it pops up, it goes into the center of the Form, overlapping the other controls, to make obvious that "
Hey dude, that's going to take some time, so, bear with me!"