ModuleOn()
Opens a new module.
Synopsis
void ModuleOn(stringmoduleName, unsignedx, unsigned y,unsigned w,unsigned
h,unsignediconbar,unsignedmenubar,stringresizeMode, int
ModuleType);
Parameters
Parameter | Description |
---|---|
moduleName | The name of the module to be opened. |
x | X position:
|
y | Y position:
|
w | The width of the module. |
h | The height of the module. |
iconbar |
|
menubar |
|
resizeMode |
Otherwise: Default (""). |
moduleType |
|
Return value
-
Error
Occurs when arguments are missing or invalid.
Details
This function opens a new module using the provided parameters.
The module will not open if another module with the same name is already open.
Example
main()
{
ModuleOn("M1",0,0,70,70,2,2,"None",2);
}
The following example opens a VISION module in zoom mode:
main()
{
ModuleOn("M1",0,0,70,70,2,2,"Zoom",1);
}
Assignment
Miscellaneous functions.
Availability
UI