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 <ENTER> is selected.
Values
- 1: OK or Yes
- 2: No
- 3: Back
DI001569 Dialog message
The text to be output can be entered here.
Information
- Variables can also be included in dialog message texts. When the text is output, the current content of the variable (and not the variable itself) is displayed.
- The following variable types are possible:
Notes
- In standard dialog messages that 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 the chamber 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
From S 39.5.21 / DB 39.5.9
Values
- 0: Display in the status line
- 1: Dialog message
- 2: Dialog message with an input field
- 3: Dialog message with two input fields
- NEW 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.
From DB 39.5.0
Values
- 0: Display in the status line
- 1: Dialog message
- NEW 2: Dialog message with an input field
- NEW 3: Dialog message with two input fields
Note
- Output types 2 and 3:
- The entries made in the dialog message can be read via Python.
Up to DB 39.5.0
Values
- 0: Display in the status line
- 1: Dialog message
DI051812 Use in the source
Values
- : Dialog message is used in the source
- : Dialog message is not used in the source
New from DB 39.5.13
DI062321 Python code
When a record is created, the Python code for the dialog message is automatically generated here.