HORIZONTAL

HORIZONTAL N

PUT THE BAR OF THE SYSTEM OBJECT NUMBER N IN HORIZONTAL POSITION

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

ACTION

The command HORIZONTAL N put in horizontal position the system object designated by its number N.

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

SYNTAX: HORIZONTAL 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 HORIZONTAL is used to put a bar in the horizontal 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 number N is not the number of : 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

VERTICAL

MIN

MAX

POSITION

POSITION()

SCROLL_BAR

TRACK_BAR

PROGRESS_BAR