{PROGRESS}
Syntax
{PROGRESS=Width Variable}
|
Argument |
Type |
Description |
|
Width |
N |
Width of the bar in columns. |
|
Variable |
N |
The variable whose progress (from 0 to 100) is being plotted). |
Description
The {PROGRESS} command displays a progress bar. [Picture]
Supported By
Alpha Five Version 5 and Above
Limitations
Desktop applications only
Example
|
num = 0 caption = "" ui_dlg_box("Progress",<<%dlg% {text=80caption}; {interval=0.1} {timer=timer} {progress=80num}; {line=1}; <reset> <Done> %dlg% , <<%code% if a_dlg_button = "timer" then a_dlg_button = "" if num < 100 then num = num+1 caption = "Progress ("+num+"%)" else caption = "Done" end if else if a_dlg_button = "reset" then a_dlg_button = "" num = 0 end if %code%) |

See Also