Extensions.HMI.ConfirmDialog
Jump to navigation
Jump to search
Classification
Name | ConfirmDialog |
Short Description | Requests dialog, the user's confirmation |
Class | Action |
Extension | OTX HMI extension |
Group | Dialog related actions |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
Hmi.ConfirmDialog(StringTerm, StringTerm, MessageType, ConfimationTypeVariable);
Description
The ConfirmDialog activity shows a dialog, the user's confirmation requests. The selection of buttons and decorations can be configured by a parameter. ConfirmDialog is generally used to apply user acceptance before performing a procedure.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
MessageType | MessageType | Value | @MessageType:INFO | [0..1] | Message type = {INFO|WARNING|ERROR|YESNO_QUESTION|YESNOCANCEL_QUESTION}. |
Result | Integer | Variable | - | [0..1] | The variable where the user's selection is stored. |
OTL Examples
Hmi.ConfirmationType ConfirmationType1 = @ConfirmationTypes:YES;
Hmi.ConfirmDialog("Message", "Title", @MessageTypes:INFO, ConfirmationType1);