Component/Form
Namespace
components.form
Constants
The form component module.
Source: lib/modules/components/form.whl, line: 8
Module calls for form component functions.
Source: lib/modules/components/form.whl, line: 11
| FORM_COMPONENT_SHOW | 0 |
| FORM_COMPONENT_HIDE | 1 |
| FORM_COMPONENT_SET_TITLE | 2 |
Properties
These properties can be edited with the property editor in the IDE.
| Name | Type | Description |
| name | string | The component name. |
| height | number | The dialog height. |
| title | string | The title. |
Events
onShow
Called when the form is shown.
proc onShow(number windowHandle)
Parameters:
| Name | Type | Description |
| windowHandle | number | The handle of the window which is shown. |
onHide
Called when the form is hidden.
proc onHide(number windowHandle)
Parameters:
| Name | Type | Description |
| windowHandle | number | The handle of the window which is hidden. |
Procedures
show
Source: lib/modules/components/form.whl, line: 27
Show a form.
proc show(string filename)
Parameters:
| Name | Type | Description |
| filename | string | The filename of the form file. |
Return: The form handle.
hide
Source: lib/modules/components/form.whl, line: 35
Hide a form.
proc hide(number handle)
Parameters:
| Name | Type | Description |
| handle | number | The handle of the form to hide. |
setTitle
Source: lib/modules/components/form.whl, line: 42
Set the title of a form.
proc setTitle(string title)
Parameters:
| Name | Type | Description |
| title | string | The title. |