![]() |
OTX Reference
|
|
Dialog to select from list More...
Public Attributes | |
IntegerTerm | _default |
Cardinality [0..1] This optional element represents the index of the option which be preselected in the dialog. More... | |
ListTerm | options |
Cardinality [1] List of strings, which are presented as choices (eg: ListCreate ("string", "option1" "option2", "Option 3")). More... | |
IntegerVariable | result |
Cardinality [1] After closing, the dialog contains the specified variable here the value of selection (-1 = no choice, 0 = first option, 1 = second option, etc.). More... | |
![]() | |
StringTerm | message |
Cardinality [0..1] If the runtime system contains the capability to show a message as part of the display, the String will be shown. More... | |
StringTerm | title |
Cardinality [0..1] If the runtime system contains the capability to show a dialog box with a Title bar, the String will be shown. It is assumed that this String will be shown with more prominence than the message parameter. More... | |
![]() | |
OtxLink | validFor |
Cardinality [0..1] Validity of ActionRealisation. More... | |
Dialog to select from list
The ChoiceDialog Activity opens a modal Dialog with a list of choices and prompts the user for selection.
Core.Exceptions.OutOfBoundsException |
IntegerTerm OpenTestSystem.Otx.Extensions.HMI.Actions.ChoiceDialog._default |
Cardinality [0..1]
This optional element represents the index of the option which be preselected in the dialog.
ListTerm OpenTestSystem.Otx.Extensions.HMI.Actions.ChoiceDialog.options |
Cardinality [1]
List of strings, which are presented as choices (eg: ListCreate ("string", "option1" "option2", "Option 3")).
IntegerVariable OpenTestSystem.Otx.Extensions.HMI.Actions.ChoiceDialog.result |
Cardinality [1]
After closing, the dialog contains the specified variable here the value of selection (-1 = no choice, 0 = first option, 1 = second option, etc.).