VERTICAL

VERTICAL N

PUT THE SYSTEM OBJECT NUMBER N IN VERTICAL POSITION

  • Type: Command
  • Parameter: 1
  • Group: System Objects

ACTION

The command VERTICAL N put in vertical position the system object designated by its number N.

The system object N is a bar : SCROLL_BAR, TRACK_BAR, PROGRESS_BAR.

SYNTAX: VERTICAL N

  • N = system object number (integer or real). Must be greater than 0 and less than or equal to the allowed maximum number of system objects.

USE

  • The command VERTICAL is used to put a bar in the vertical position.

ERROR

  • If number N is not a correct expression.
  • If number N exceeds the allowed maximum number of system objects.
  • If number N is less than 0.
  • If system object number N does not exist.
  • If system object number N is not of the type : SCROLL_BAR, TRACK_BAR, PROGRESS_BAR.

EXAMPLE

rem create a SCROLL_BAR

scroll_bar 1

rem wait 1 second

wait 1000

rem put it in vertical position

vertical 1

rem wait 1 second

wait 1000

rem put it in horizontal position

horizontal 1

SEE ALSO

HORIZONTAL

MIN

MAX

POSITION

POSITION()

SCROLL_BAR

TRACK_BAR

PROGRESS_BAR