guiFormShow (Function)

Top  Previous  Next

Architecture:

NX32L

Firmware version:

1.00.00


This function makes the provided form visible.

 

 

Input:

form : SYSHANDLE

A handle to the form.

 

Returns: INT

0

- The form is now visible.

-1

- Interface is not open (see guiOpen).

-3

- The grid size is invalid.

-11

- The GUI API is not supported.

 

Declaration:

FUNCTION guiFormShow : INT;
VAR_INPUT
   form : SYSHANDLE;
END_VAR;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
VAR
   rc   : INT;
   form : SYSHANDLE;
END_VAR;
 
BEGIN
   ...
   // Create a form with 5x5 tiles
   rc := guiFormCreate(form := formgrid := 5);
   // Make form visible
   rc := guiFormShow(form := form);
   ...
END;
END_PROGRAM;