RETURNS THE POSITION OF THE CURSOR OF THE BAR NUMBER N
ACTION
The function POSITION(N) returns the position value of the cursor of the system object designated by its number N.
The system object number N is a bar: SCROLL_BAR, TRACK_BAR, PROGRESS_BAR.
SYNTAX:
Result=POSITION(N)
USE ERROR EXAMPLE
rem create a SCROLL_BAR
scroll_bar 1
rem print the position of its cursor
print position(1)
POSITION()
POSITION(N)
SEE ALSO
MIN
MAX
SCROLL_BAR
TRACK_BAR
PROGRESS_BAR