
12.9 Progress Widget – PROGRESS
The PROGRESS widget allows you to display a progression bar at an initial state. To change the values
to show progression or regression, use the PROGRESS_VALUE command. PROGRESS_VALUE
command does not re-draw the entire percentage bar, but changes the value. The PROGRESS.EZM file
in the \EZSYS\MACROS directory contains an example of this widget. It can be invoked by typing
PLAY PROGRESS in Termie. The ezLCD-3xx has the ability to display custom-themed progress bars.
Changing the PROGRESS_VALUE setting (25) will update the BAR and PERCENT without having to
redraw the whole widget.
progress [ID][x][y][width][height][option][value][max][theme]
progress_value [ID][value]
Example:
cls white
'clears the screen to white
fontw 0 sans24
'widget font needs to be set before the theme
theme 0 0 1 2 3 4 5 6 7 8 0
'colors are to distinguish different parts of widget
progress 1 50 100 180 40 1 10 100 0
'draws a progress bar, background = red
pause 2000
'pauses for 2 seconds
progress_value 1 26
'changes value from 10 to 26
Images of Widget Options
:
48
Option 1 = Horizontal
Option 3
= Vertical
Summary of Contents for ezLED-3 Series
Page 25: ...25 Dial Choice Digital Meter ...
Page 26: ...26 Progress Bar Radio Button Slider Slider scroll bar option ...
Page 27: ...27 Static Box Framed Static Box ...
Page 66: ...ezLCD 302 240 x 160 4 3 4096 Reflective Color TFT Sunlight Readable NO Touchscreen 66 ...
Page 67: ...Appendix C EarthSEMPL Colors 67 ...
Page 68: ...68 ...
Page 69: ...69 ...
Page 70: ...70 ...
Page 71: ...71 ...
Page 78: ...78 ...