Working on making animated gauge components:
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
This is just a rough draft that I hope to refine more and release on the farm.Animated gauge component
Re: Animated gauge component
- Attachments
-
gauge.webm
- (498.74 KiB) Downloaded 933 times
Re: Animated gauge component
Very nice! If I can figure out how to connect with the Beaglebone... this could come in useful as a display!
Thank you!
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Thank you!
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Re: Animated gauge component
Makes me happy to hear that!
Re: Animated gauge component
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:
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!"![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
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!"
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
“The only thing necessary for the triumph of evil is for good men to do nothing.”― Edmund Burke;
It's easy to die for an idea. It is way harder to LIVE for your idea! (Me)
It's easy to die for an idea. It is way harder to LIVE for your idea! (Me)