CREATES A SYSTEM OBJECT TRACK_BAR AND ALLOCATES IT NUMBER N AS REFERENCE
ACTION
The command TRACK_BAR N creates a system object TRACK_BAR, and allocates it a number N. The number N will be used to designate the TRACK_BAR.
The created TRACK_BAR can then be used through the appropriated commands.
The TRACK_BAR is created at position (0,0) : that is TOP = 0 pixel and LEFT = 0 pixel, with dimensions WIDTH = 150 pixels and HEIGHT = 45 pixels.
A TRACK_BAR displays a slider with tick markers. The slider can be positioned by the command POSITION N,P and its position can be read by the function POSITION(N).
A TRACK_BAR can generate the event : ON_CHANGE.
Remark: by default, the TRACK_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 TRACK_BAR.
SYNTAX:
TRACK_BAR N
USE ERROR EXAMPLE
rem create a TRACK_BAR with default position and dimensions
track_bar 1
TRACK_BAR
TRACK_BAR N
SEE ALSO
TOP
LEFT
VERTICAL
HORIZONTAL
WIDTH
HEIGHT
HINT
HINT_HIDE
FULL_SPACE
MIN
MAX
POSITION
POSITION()
ON_CHANGE