New ProgressBar library that displays values (in % or real values). You can choose the direction of the Bar movement. You can set an alarm for a certain value, when the Bar color changes or an event is triggered.
ProgressBar_JE
Author: Jerryk
Version: 1.2
Methods:
"%" - by Value (1-100),
"value" - by realValue in real values
state - switch alarm on or off
value - in %
color1, color2 - set new gradient color
state - switch alarm on or off
realvalue - in real value
color1, color2 - set new gradient color
Properties:
"%" - in % (1-100),
"value" - in real values
"off" - not display
Events:
Changelog:
ProgressBar_JE
Author: Jerryk
Version: 1.2
Methods:
- Progress (Value As Float, realValue As Float)
"%" - by Value (1-100),
"value" - by realValue in real values
- SetAlarm1 (state As Boolean, value As Float, color1 As Int, color2 As Int)
state - switch alarm on or off
value - in %
color1, color2 - set new gradient color
- SetAlarm2 (state As Boolean, realvalue As Float, color1 As Int, color2 As Int)
state - switch alarm on or off
realvalue - in real value
color1, color2 - set new gradient color
Properties:
- Direction As String
- BackgroundColor As Int
- BarColor1, BarColor2 As Int
- ShowValue As String
"%" - in % (1-100),
"value" - in real values
"off" - not display
- Prefix As String
- Suffix As String
- lBase As Label
Events:
- Alarm1 (Value as Float)
- Alarm2 (realValue as Float)
- Click (Value as Float)
Changelog:
- 1.2 - added Click event
Attachments
Last edited: