Wheel IDE

Online demo »

Component/Title

Namespace
components.title

Constants

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

Module calls for title component functions.
Source: lib/modules/components/title.whl, line: 11
TITLE_COMPONENT_SET_HIDDEN0
TITLE_COMPONENT_SET_X1
TITLE_COMPONENT_SET_Y2
TITLE_COMPONENT_SET_TEXT3

Properties

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

NameTypeDescription
namestringThe component name.
xnumberThe left position of the component inside the parent component.
ynumberThe top position of the component inside the parent component.
zIndexnumberThe depth of the component related to other components in the parent.
textstringThe title text.

Procedures

setHidden
Source: lib/modules/components/title.whl, line: 24

Hide the title.

proc setHidden(number windowHandle, number componentHandle, number hidden)
Parameters:
NameTypeDescription
windowHandlenumberThe handle of the window.
componentHandlenumberThe handle of the component.
hiddennumberHidden TRUE or FALSE.

setX
Source: lib/modules/components/title.whl, line: 33

Set the x position of the title.

proc setX(number windowHandle, number componentHandle, number x)
Parameters:
NameTypeDescription
windowHandlenumberThe handle of the window.
componentHandlenumberThe handle of the component.
xnumberThe x position in pixels.

setY
Source: lib/modules/components/title.whl, line: 42

Set the y position of the title.

proc setY(number windowHandle, number componentHandle, number y)
Parameters:
NameTypeDescription
windowHandlenumberThe handle of the window.
componentHandlenumberThe handle of the component.
ynumberThe y position in pixels.

setText
Source: lib/modules/components/title.whl, line: 51

Set title text.

proc setText(number windowHandle, number componentHandle, string text)
Parameters:
NameTypeDescription
windowHandlenumberThe handle of the window.
componentHandlenumberThe handle of the component.
textstringThe title text.