Wheel IDE

Online demo »

Component/ListItems

Namespace
components.listItems

Constants

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

Module calls for list items component functions.
Source: lib/modules/components/listItems.whl, line: 11
LIST_ITEMS_COMPONENT_SET_HIDDEN0
LIST_ITEMS_COMPONENT_SET_X1
LIST_ITEMS_COMPONENT_SET_Y2
LIST_ITEMS_COMPONENT_CLEAR3
LIST_ITEMS_COMPONENT_ADD_ITEM4

Properties

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

NameTypeDescription
namestringThe component name.
hiddenbooleanHide the component.
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.
itemslistA 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:
NameTypeDescription
windowHandlenumberThe handle of the window.
componentHandlenumberThe handle of the component.
hiddennumberHidden 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:
NameTypeDescription
windowHandlenumberThe handle of the window.
componentHandlenumberThe handle of the component.
xnumberThe 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:
NameTypeDescription
windowHandlenumberThe handle of the window.
componentHandlenumberThe handle of the component.
ynumberThe y position in pixels.

clear
Source: lib/modules/components/listItems.whl, line: 53

Clear the list.

proc clear(number windowHandle, number componentHandle)
Parameters:
NameTypeDescription
windowHandlenumberThe handle of the window.
componentHandlenumberThe 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:
NameTypeDescription
windowHandlenumberThe handle of the window.
componentHandlenumberThe handle of the component.
textstring