Component/Panel
Namespace
components.panel
Constants
The tabs component module.
Source: lib/modules/components/panel.whl, line: 8
Module calls for button component functions.
Source: lib/modules/components/panel.whl, line: 11
PANEL_COMPONENT_SET_HIDDEN | 0 |
PANEL_COMPONENT_SET_X | 1 |
PANEL_COMPONENT_SET_Y | 2 |
PANEL_COMPONENT_SET_WIDTH | 3 |
PANEL_COMPONENT_SET_HEIGHT | 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. |
width | number | The panel width. |
height | number | The panel height. |
Procedures
setHidden
Source: lib/modules/components/panel.whl, line: 27
Hide the panel.
proc setHidden(number windowHandle, number componentHandle, number tabIndex)
Parameters:
Name | Type | Description |
windowHandle | number | The handle of the window. |
componentHandle | number | The handle of the component. |
tabIndex | number | |
setX
Source: lib/modules/components/panel.whl, line: 36
Set the x position of the panel.
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/panel.whl, line: 45
Set the y position of the panel.
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 | |
setWidth
Source: lib/modules/components/panel.whl, line: 54
Set the width of the panel.
proc setWidth(number windowHandle, number componentHandle, number width)
Parameters:
Name | Type | Description |
windowHandle | number | The handle of the window. |
componentHandle | number | The handle of the component. |
width | number | The panel width. |
setHeight
Source: lib/modules/components/panel.whl, line: 63
Set the height of the panel.
proc setHeight(number windowHandle, number componentHandle, number height)
Parameters:
Name | Type | Description |
windowHandle | number | The handle of the window. |
componentHandle | number | The handle of the component. |
height | number | |