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)
Line 1: Line 1:
[[Category:HMI]]
+
{{DISPLAYTITLE:  '''ConfirmDialog'''}}[[Category:HMI]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | ConfirmDialog | Requests dialog, the user's confirmation | [[Action]]| [[HMI|OTX HMI extension]] | [[Dialog related actions]] | - | - }}
+
{{ClassificationActivity | ConfirmDialog | Requests dialog, the user's confirmation | [[Action]]| [[Extensions.HMI|OTX HMI extension]] | [[Dialog related actions]] | - | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
Line 14: Line 14:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| MessageType | [[MessageType]] | [[Value]] | @MessageType:INFO | [0..1] | <nowiki>Message type = {INFO|WARNING|ERROR|YESNO_QUESTION|YESNOCANCEL_QUESTION}</nowiki>.}}
+
{{TableRowPropertie1| MessageType | [[Extensions.HMI.MessageType|MessageType]] | [[Value]] | @MessageType:INFO | [0..1] | <nowiki>Message type = {INFO|WARNING|ERROR|YESNO_QUESTION|YESNOCANCEL_QUESTION}</nowiki>.}}
{{TableRowPropertie2| Result | [[Integer]] | [[Variable]] | - | [0..1] | The variable where the user's selection is stored.}}
+
{{TableRowPropertie2| Result | [[Core.DataTypes.SimpleDataType.Integer|Integer]] | [[Variable]] | - | [0..1] | The variable where the user's selection is stored.}}
 
|}
 
|}
  
Line 26: Line 26:
  
 
== See also ==
 
== See also ==
[[InputDialog]] <br/>
+
[[Extensions.HMI.InputDialog|InputDialog]] <br/>
[[ChoiceDialog]] <br/>
+
[[Extensions.HMI.ChoiceDialog|ChoiceDialog]] <br/>
[[ShowDocumentDialog]]
+
[[Extensions.HMI.ShowDocumentDialog|ShowDocumentDialog]]

Revision as of 08:43, 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