Component/Title
Namespace
components.title
Constants
The form component module.
Source: lib/modules/components/title.whl, line: 8
Module calls for title component functions.
Source: lib/modules/components/title.whl, line: 11
TITLE_COMPONENT_SET_HIDDEN | 0 |
TITLE_COMPONENT_SET_X | 1 |
TITLE_COMPONENT_SET_Y | 2 |
TITLE_COMPONENT_SET_TEXT | 3 |
Properties
These properties can be edited with the property editor in the IDE.
Name | Type | Description |
name | string | The component name. |
x | number | The left position of the component inside the parent component. |
y | number | The top position of the component inside the parent component. |
zIndex | number | The depth of the component related to other components in the parent. |
text | string | The title text. |
Procedures
setHidden
Source: lib/modules/components/title.whl, line: 24
Hide the title.
proc setHidden(number windowHandle, number componentHandle, number hidden)
Parameters:
Name | Type | Description |
windowHandle | number | The handle of the window. |
componentHandle | number | The handle of the component. |
hidden | number | Hidden 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:
Name | Type | Description |
windowHandle | number | The handle of the window. |
componentHandle | number | The handle of the component. |
x | number | The 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:
Name | Type | Description |
windowHandle | number | The handle of the window. |
componentHandle | number | The handle of the component. |
y | number | The 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:
Name | Type | Description |
windowHandle | number | The handle of the window. |
componentHandle | number | The handle of the component. |
text | string | The title text. |