TAB

TAB

CREATES A SYSTEM OBJECT TAB AND ALLOCATES IT NUMBER N AS REFERENCE

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

ACTION

The command TAB N creates a system object TAB, and allocates it a number N. The number N will be used to designate the TAB.

The created TAB can then be used through the appropriated commands.

To be used, a TAB must be attached to a CONTAINER_TAB by the command PARENT. After the command PARENT, the TAB becomes a tab of the tab system CONTAINER_TAB.

SYNTAX: TAB 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

  • A TAB is used to create a tab of a tab system CONTAINER_TAB.

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 or equal to 0.
  • If number N is already used for a system object number.

EXAMPLE

container_tab 1 : rem create a container

tab 2 : rem create a page (tabt)

parent 2,1 : rem attach this tab to the container

caption 2,"Tab 1" : rem title for the tab

tab 3 : rem create a new tab

parent 3,1 : rem attach this tab to the container

caption 3,"Tab 2" : rem title for the tab

SEE ALSO

CONTAINER_TAB

PARENT