f$DisplayDialog (f$DialogAnzeigen)
f$DisplayDialog (f$DialogAnzeigen)
Display a dialog window on the screen. This window is only for displaying information. No entries can be made. Any dialog desired can be used for the display.
Please note: the dialog window especially also cannot be moved. For that reason you should ensure that no important information is covered. The position of the dialog on the screen should be selected accordingly.
The window is under the complete control of the decision table. You can (via this function) open, close, and, if necessary, update from out of the DT.
Only one display window can be open respectively. If a second window is opened before the first is closed, then the second window replaces the first. An open window is closed automatically when the logic ends.
This function can, for example, be applied
·For displaying a "Please wait" message, in order to advise about any possible long-lasting action (see Displaying power images or "Please wait" messages.
·With sub-forms for keeping information on the main form.
It is also possible in ePOS to "jump back and forth" between multiple dialogs (work in multiple dialog windows open simultaneously). However to do that you must use f$DialogOpen instead of f$DisplayDialog.
Syntax: | f$DisplayDialog( Mode, DlgName ) | ||
| Argument | Type | Meaning |
| Mode | Integer | 0: close dialog |
| DlgName | String | Name of the dialog to be displayed (this name must match the displayed dialog with mode 0 and 2) |
Result: | - |
| |
Example: | f$DisplayDialog( 1, 'OrderDetails') | ||
Please note:
You must update the dialog from out of a DT in which all parameters of the dialog are known.