Component/ListItems
Namespace
components.listItems
Constants
The form component module.
Source: lib/modules/components/listItems.whl, line: 8
| MODULE_COMPONENT_LIST_ITEMS | 83 |
Module calls for list items component functions.
Source: lib/modules/components/listItems.whl, line: 11
LIST_ITEMS_COMPONENT_SET_HIDDEN | 0 |
LIST_ITEMS_COMPONENT_SET_X | 1 |
LIST_ITEMS_COMPONENT_SET_Y | 2 |
LIST_ITEMS_COMPONENT_CLEAR | 3 |
LIST_ITEMS_COMPONENT_ADD_ITEM | 4 |
Properties
These properties can be edited with the property editor in the IDE.
Name | Type | Description |
name | string | The component name. |
hidden | boolean | Hide the component. |
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. |
items | list | A list of items. |
Procedures
setHidden
Source: lib/modules/components/listItems.whl, line: 26
Hide the list items.
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/listItems.whl, line: 35
Set the x position of the list items.
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/listItems.whl, line: 44
Set the y position of the list items.
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. |
clear
Source: lib/modules/components/listItems.whl, line: 53
Clear the list.
proc clear(number windowHandle, number componentHandle)
Parameters:
Name | Type | Description |
windowHandle | number | The handle of the window. |
componentHandle | number | The handle of the component. |
addItem
Source: lib/modules/components/listItems.whl, line: 61
Add an item to the list.
proc addItem(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 | |