DT428 Dialog message
DI000357 MSG
ID of the dialog message. It is automatically generated when the dialog message is created.
DI001765 Button type
Values
- 0: no button, activity display
- This box is displayed until it is closed by the MSG OFF macro command or until the macro is closed. The user cannot close this box.
- If a box with button type = 0 is already displayed, it may be replaced by the new box if another MSG command is executed. Temporary messages can be output in this way.
- 1: OK
- 2: OK + Back
- 3: Yes + No
- 4: Yes + No + Back
DI001766 Default button
Default button. Number of the button which is preset and clicked on when you press <ENTER>.
Values
- 1: OK or Yes
- 2: No
- 3: Back
DI001569 Dialog message
The text to be displayed can be entered here.
Information
- Variables can also be embedded in dialog message texts. When the text is output, the current content of the variable (and not the variable itself) will be displayed.
- The following variable types are possible:
- System variables: @xx
- Global variables @Gxxxx
- Dynamic variables: @Dxxxx
- User variables: @Uxxxx
Note
- In standard dialog messages which are used in the source, there are additional placeholders like %s. Upon output of the dialog message, they are filled with the respective data by the program.
- If there are several placeholders in one dialog message, the sequence in which they are replaced is stored in the program. If the text of such a dialog message is changed, this must be considered in order to prevent errors in the output.
- Dialog message 0339 reads Capacity scheduling canceled (Reason: resource periods incomplete: Resource: %s, Date: %s). In this message, the first occurrence of the %s placeholder is always filled with the resource ID, the second one with the respective date. If the sequence in brackets is changed to ... Date: %s, Resource: %s..., the output will hence be incorrect.
DI026385 OLE symbol
The OLE symbol stored here is displayed in the dialog message.
Information
- OLEs can be created, edited, and deleted in the OLEs module.
DI026384 Output type
Values
- 0: Display in the status line
- 1: Dialog message
- 2: Dialog message with an input field
- 3: Dialog message with two input fields
- 4: Permanent display in the status line (e.g. "server restart required")
Note
- Output types 2 and 3:
- The entries made in the dialog message can be read via Python.
DI051812 Use in source
Values
- : Dialog message is used in the source
- : Dialog message is not used in the source
DI062321 Python code
When a record is created, the Python code for the dialog message is automatically generated here.