Component/ConfirmDialog
Namespace
components.confirmDialog
Constants
The confirm dialog component module.
Source: lib/modules/components/confirmDialog.whl, line: 8
| MODULE_COMPONENT_CONFIRM_DIALOG | 141 |
Module calls for the confirm dialog component functions.
Source: lib/modules/components/confirmDialog.whl, line: 11
CONFIRM_DIALOG_COMPONENT_SHOW | 0 |
Properties
These properties can be edited with the property editor in the IDE.
Name | Type | Description |
name | string | The component name. |
y | number | The top position of the component icon, this only applies to the icon in design mode. |
title | string | The title of the dialog. |
text | string | The information text shown on the dialog. |
okTitle | string | The title of the ok button. |
cancelTitle | string | The title of the cancel button. |
Events
onOk
Called when the ok button is clicked.
proc onOk(number windowHandle)
Parameters:
Name | Type | Description |
windowHandle | number | The handle of the parent window of the dialog. |
onCancel
Called when the cancel button is clicked.
proc onCancel(number windowHandle)
Parameters:
Name | Type | Description |
windowHandle | number | The 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:
Name | Type | Description |
windowHandle | number | The handle of the window. |
componentHandle | number | The handle of the component. |