Wheel IDE

Online demo »

Component/Panel

Namespace
components.panel

Constants

The tabs component module.
Source: lib/modules/components/panel.whl, line: 8
MODULE_COMPONENT_PANEL88

Module calls for button component functions.
Source: lib/modules/components/panel.whl, line: 11
PANEL_COMPONENT_SET_HIDDEN0
PANEL_COMPONENT_SET_X1
PANEL_COMPONENT_SET_Y2
PANEL_COMPONENT_SET_WIDTH3
PANEL_COMPONENT_SET_HEIGHT4

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.
widthnumberThe panel width.
heightnumberThe panel height.

Procedures

setHidden
Source: lib/modules/components/panel.whl, line: 27

Hide the panel.

proc setHidden(number windowHandle, number componentHandle, number tabIndex)
Parameters:
NameTypeDescription
windowHandlenumberThe handle of the window.
componentHandlenumberThe handle of the component.
tabIndexnumber

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:
NameTypeDescription
windowHandlenumberThe handle of the window.
componentHandlenumberThe handle of the component.
xnumberThe 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:
NameTypeDescription
windowHandlenumberThe handle of the window.
componentHandlenumberThe handle of the component.
ynumber

setWidth
Source: lib/modules/components/panel.whl, line: 54

Set the width of the panel.

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