You can create dialog boxes to be displayed to your users as part of your scripts. See the section Dialog Boxes for details and the actual language statements used.You populate your dialog box with the usual Windows controls: buttons, listboxes, checkboxes, radio buttons, and the like. Phantom also provides two special controls: the Image control and the Countdown control.
The Image control is used to display bitmap images in your dialog. The control allows scaling the image to whatever size is desired while optionally maintaining the original aspect ratio.
The Countdown control updates the number of seconds remaining in a dialog box that has a timeout assigned to it. You can provide text to be displayed before and after the digits, allowing text such as "There are <n> seconds remaining." to be displayed, where <n> is replaced by decreasing digits. Countdown timers are reset whenever the user interacts with any control in the dialog.
The contents of dialog box controls are assigned to variables that may then be accessed after the dialog box has been dismissed.
You can set the colors and fonts used in dialog boxes.
If you specify that the dialog box is to be non-modal, then your script continues executing while the dialog box is displayed. You can check the contents of the variables assigned to the dialog box items, update the dialoog box contents, or wait for the user to interact with the dialog box. See Dialog Boxes for details.
There are three standard common Windows dialogs also provided. They are the MessageBox, OpenFileDialog, and SaveFileDialog.