Value Selection Window#

Show a modal dialog window designed for selecting a value from a list.

Title[Text] The text, variable value, or calculation result that will be displayed in the dialog window's title.
Message[Text] The text, variable value, or calculation result that will be displayed inside the dialog window.
Value List[List] The list of values that will be displayed in the dialog window.
Default Value[Text/Number] The text value that will be assigned to the result if the User cancels the input. If a number is specified, the result will be assigned the value from the specified list at that index.
Timeout[Number] The timeout. If a value greater than zero is specified, the window will automatically close after that time. The default value will be recorded in the "Result" property.
Multiple SelectionWhen enabled, multiple values can be selected from the specified list. In this case, a list of values is returned as a result.
Line BreaksEnables line breaks in the message.
Button Names

[Text] You can specify your own names for the buttons separated by a semicolon.

For example, "Apply;Cancel"

Result

[Text/List] Returns the value selected by the User or the default value.

If the "Multiple Selection" property is enabled, a list is returned.

Error Handling Level

Select the error handling level. Possible values:

  • "Default" - by default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation. Possible values:

  • "Default" - by default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.