Difference between revisions of "Extensions.HMI.ConfirmDialog"

From emotive
Jump to navigation Jump to search
m (Hb moved page ConfirmDialog to Extensions.HMI.ConfirmDialog: #3153)
(No difference)

Revision as of 08:31, 15 February 2016

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);

See also

InputDialog
ChoiceDialog
ShowDocumentDialog