Wheel IDE

Online demo »

Component/ProgressBar

Namespace
components.progressBar

Constants

The progress bar component module.
Source: lib/modules/components/progressBar.whl, line: 8
MODULE_COMPONENT_PROGRESS_BAR105

Module calls for the progress bar component functions.
Source: lib/modules/components/progressBar.whl, line: 11
PROGRESS_BAR_COMPONENT_SET_HIDDEN0
PROGRESS_BAR_COMPONENT_SET_X1
PROGRESS_BAR_COMPONENT_SET_Y2
PROGRESS_BAR_COMPONENT_SET_WIDTH3
PROGRESS_BAR_COMPONENT_SET_VALUE4

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 progress bar width.
valuenumberThe current progress, a value in the range of 0..100.

Procedures

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

Hide the progress bar.

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/progressBar.whl, line: 36

Set the x position of the progress bar.

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/progressBar.whl, line: 45

Set the y position of the progress bar.

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.

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

Set the progress bar width.

proc setWidth(number windowHandle, number componentHandle, number width)
Parameters:
NameTypeDescription
windowHandlenumberThe handle of the window.
componentHandlenumberThe handle of the component.
widthnumberThe width.

setValue
Source: lib/modules/components/progressBar.whl, line: 63

Set the progress bar value.

proc setValue(number windowHandle, number componentHandle, number value)
Parameters:
NameTypeDescription
windowHandlenumberThe handle of the window.
componentHandlenumberThe handle of the component.
valuenumberThe progress in the range of 0..100.