guiMenuClose (Function)

Top  Previous  Next

Architecture:

NX32L

Device support:

NX-400

Firmware version:

1.00.00


This function closes the active menu.

 

Input:

None.

 

Returns: INT

0

- Success.

-1

- Interface is not open (see guiOpen).

-3

- No active menu.

-11

- The GUI API is not supported.

 

Declaration:

FUNCTION guiMenuClose : INT;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
VAR
  rc   : INT;
END_VAR;
 
BEGIN
  ...
  // Close the current menu.
  rc := guiMenuClose();
  ...
END;
END_PROGRAM;