Wheel IDE

Online demo »

Component/ConfirmDialog

Namespace
components.confirmDialog

Constants

The confirm dialog component module.
Source: lib/modules/components/confirmDialog.whl, line: 8
MODULE_COMPONENT_CONFIRM_DIALOG141

Module calls for the confirm dialog component functions.
Source: lib/modules/components/confirmDialog.whl, line: 11
CONFIRM_DIALOG_COMPONENT_SHOW0

Properties

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

NameTypeDescription
namestringThe component name.
ynumberThe top position of the component icon, this only applies to the icon in design mode.
titlestringThe title of the dialog.
textstringThe information text shown on the dialog.
okTitlestringThe title of the ok button.
cancelTitlestringThe title of the cancel button.

Events

onOk

Called when the ok button is clicked.

proc onOk(number windowHandle)
Parameters:
NameTypeDescription
windowHandlenumberThe handle of the parent window of the dialog.
onCancel

Called when the cancel button is clicked.

proc onCancel(number windowHandle)
Parameters:
NameTypeDescription
windowHandlenumberThe handle of the parent window of the dialog.

Procedures

show
Source: lib/modules/components/confirmDialog.whl, line: 28

Show the confirm dialog.

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