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
...
rc := guiFormCreate(form := form, grid := 5);
rc := guiFormShow(form := form);
...
END;
END_PROGRAM;
|