DT428 Dialog message
DI000357 MSG
ID of the dialog message. It is automatically generated when new dialog messages are 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 terminate 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. This way, intermediate messages can be displayed.
- 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. In the text output, it is not the variable but its current content that is displayed.
- The following variable types are possible:
- System variables: @xx
- Global variables @Gxxxx
- Dynamic variables: @Dxxxx
- User variables: @Uxxxx
Notes
- In standard dialog messages which are used in the source, there are additional placeholders like %s. They are filled with the corresponding data by the program when the dialog message is displayed.
- 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 taken into account in order to prevent errors in the output.
- Dialog message 0339 reads Schedule calculation canceled (Reason: resource periods incomplete: Resource: %s, date: %s). In this message, the first occurrence of the placeholder %s is always filled with the resource ID, the second occurrence is filled with the corresponding date. If the sequence in brackets is changed to ... Date: %s, resource: %s..., the output will hence be incorrect.
DI026385 OLE symbol
The stored OLE 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.