Wheel IDE

Online demo »

Component/Form

Namespace
components.form

Constants

The form component module.
Source: lib/modules/components/form.whl, line: 8
MODULE_COMPONENT_FORM64

Module calls for form component functions.
Source: lib/modules/components/form.whl, line: 11
FORM_COMPONENT_SHOW0
FORM_COMPONENT_HIDE1
FORM_COMPONENT_SET_TITLE2

Properties

These properties can be edited with the property editor in the IDE.

NameTypeDescription
namestringThe component name.
heightnumberThe dialog height.
titlestringThe title.

Events

onShow

Called when the form is shown.

proc onShow(number windowHandle)
Parameters:
NameTypeDescription
windowHandlenumberThe handle of the window which is shown.
onHide

Called when the form is hidden.

proc onHide(number windowHandle)
Parameters:
NameTypeDescription
windowHandlenumberThe 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:
NameTypeDescription
filenamestringThe 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:
NameTypeDescription
handlenumberThe 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:
NameTypeDescription
titlestringThe title.