FULL_SPACE

FULL_SPACE N

THE SYSTEM OBJECT NUMBER N TAKES ALL THE AVAILABLE SPACE

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

ACTION

The command FULL_SPACE N gives all the available space to the system object, designated by its number N.

The space is taken on its parent.

SYNTAX: FULL_SPACE 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 FULL_SPACE is used to give to a system object, all the available space of the parent FORM.

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 object number N is of type : MAIN_MENU, SUB_MENU, SOUND, OPEN_DIALOG, SAVE_DIALOG, DLIST, TIMER, MAIN_MENU_POP, OPEN_DIALOG_PIC, SAVE_DIALOG_PIC, SERIAL, IMAGE.

EXAMPLE

rem create a button

button 1

rem give it a caption

caption 1,"Hello"

rem wait for 1 second

wait 1000

rem give it all the available space of FORM0

full_space 1

rem wait for 1 second

wait 1000

rem give it its initial size

width 1,75:height 1,25

SEE ALSO

SCENE3D

PICTURE

MOVIE

FORM