ACTIVE

ACTIVE N

MAKES ACTIVE THE SYSTEM OBJECT NUMBER N

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

ACTION

The command ACTIVE N makes active the system object designated by its number N.

SYNTAX: ACTIVE 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 ACTIVE is used to make active a system object, for example to click on it or to use it.
  • The command ACTIVE and the opposite one INACTIVE are powerful 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, SOUND, OPEN_DIALOG, SAVE_DIALOG, DLIST, MAIN_MENU_POP, OPEN_DIALOG_PIC, SAVE_DIALOG_PIC, SERIAL, IMAGE.

EXAMPLE

rem create a BUTTON

button 1

rem wait 1 second

wait 1000

rem make it inactive

inactive 1

rem wait 1 second

wait 1000

rem make it active again

active 1

SEE ALSO

ACTIVE()

INACTIVE

INACTIVE()