BAR_VERTICAL

BAR_VERTICAL N

ASSIGNS A VERTICAL SCROLL BAR TO THE SYSTEM OBJECT NUMBER N (MEMO)

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

ACTION

The command BAR_VERTICAL N assigns a vertical scroll bar to the system object number N.

The system object is a MEMO, GRID or MEMO_RICH.

SYNTAX: BAR_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 BAR_VERTICAL is used to display a vertical scroll bar on a MEMO, GRID or MEMO_RICH.

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 the object number N is not of type : MEMO, GRID, MEMO_RICH.

EXAMPLE

memo 1:rem create a MEMO

wait 1000:rem wait for one seconde

bar_horizontal 1:rem assign it an horizontal scroll bar

wait 1000:rem wait for one seconde

bar_vertical 1:rem assign it a vertical scroll bar

wait 1000:rem wait for one seconde

bar_both 1:rem assign it horizontal and vertical scroll bars

wait 1000:rem wait for one seconde

bar_none 1:rem remove its scroll bars

SEE ALSO

BAR_BOTH

BAR_NONE

BAR_HORIZONTAL

MEMO

MEMO_RICH

GRID