CREATES A SYSTEM OBJECT PROGRESS_BAR AND ALLOCATES IT NUMBER N AS REFERENCE
ACTION
The command PROGRESS_BAR N creates a system object PROGRESS_BAR, and allocates it a number N. The number N will be used to designate the PROGRESS_BAR.
The created PROGRESS_BAR can then be used through the appropriated commands.
The PROGRESS_BAR is created at position (0,0) : that is TOP = 0 pixel and LEFT = 0 pixel, with dimensions WIDTH = 150 pixels and HEIGHT = 17 pixels.
A PROGRESS_BAR displays a graphical progress indicator through a range of values. The indicator can be positioned by the command POSITION N,P and its position can be read by the function POSITION(N).
A PROGRESS_BAR cannot generate an event.
Remark: by default, the PROGRESS_BAR is created on the FORM number 0, but another FORM can be used. For that, create a FORM by FORM N, and send it all the commands by COMMAND_TARGET_IS N before creating the PROGRESS_BAR.
SYNTAX:
PROGRESS_BAR N
USE ERROR EXAMPLE
rem create a Progress_Bar with default position and dimensions
progress_bar 1
PROGRESS_BAR
PROGRESS_BAR N
SEE ALSO
TOP
LEFT
VERTICAL
HORIZONTAL
WIDTH
HEIGHT
HINT
HINT_HIDE
FULL_SPACE
MIN
MAX
POSITION
POSITION()