HIDE

HIDE N

MAKES INVISIBLE THE SYSTEM OBJECT NUMBER N

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

ACTION

The command HIDE N makes invisible the system object designated by its number N.

In the case of SYNEDIT, the command HIDE makes invisible the line numbers (gutter) after the command SYNEDIT_TARGET_IS_GUTTER. By default or after the command SYNEDIT_TARGET_IS_OBJECT, the command HIDE makes invisible the object SYNEDIT.

SYNTAX: HIDE 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 HIDE is used to make invisible a system object, for example to prevent to use it.
  • The command HIDE and the opposite one SHOW are suitable to adapt a menu to an environment.

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

EXAMPLE

rem create a BUTTON

button 1

rem wait for 1 second

wait 1000

rem hide it

hide 1

rem wait 1 second

wait 1000

rem show it again

show 1

SEE ALSO

SHOW