guiFormClose (Function)

Top  Previous  Next

Architecture:

NX32L

Firmware version:

1.00.00


This function closes the current form.

 

 

Input:

None.

 

Returns: INT

0

- Success.

-1

- Interface is not open (see guiOpen).

-11

- The GUI API is not supported.

 

Declaration:

FUNCTION guiFormClose : INT;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
VAR
   rc   : INT;
END_VAR;
 
BEGIN
   ...
   // Close form
   rc := guiFormClose();
   ...
END;
END_PROGRAM;