CONTAINER_TAB

CONTAINER_TAB

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

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

ACTION

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

The created CONTAINER_TAB is a tab system and can then be used through the appropriated commands.

The CONTAINER_TAB is created at position (0,0) : that is TOP = 0 pixel and LEFT = 0 pixel, with dimensions WIDTH = 289 pixels and HEIGHT = 193 pixels.

A CONTAINER_TAB contains only TABs.

The command PARENT must be used to attach a TAB to a CONTAINER_TAB (tab system).

Remark: by default, the CONTAINER_TAB is created on the FORM number 0.

SYNTAX: CONTAINER_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 CONTAINER_TAB is used to build a tab system.

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

TAB

PARENT