The Controls script contains the classes for Dialogs, and the controls in them. It also contains procedures for message boxes.
The prints params can be any/all of the following...
#mode newModeSets the dialog's DText mode to newMode.#font newFontSets the dialog's font to newFont.#width theMaxWidthSets with dialog's DText maxWidth to theMaxWidth.#time secondsAutomatically close the dialog after the specified seconds.#title aStringSets the dialogs title text to aString.#at x ySets the dialogs coordinates to x,y.#drawDraws the cast specified by the global variable gCast.#edit text maxInserts an edit control in the dialog, settings it's text and max.#button text IDAdds a button to the dialog. If the button is clicked, Print() will return it's specified ID.
There can only be maximum six buttons if you use the Print() procedure for your dialog box.#icon (pIcon) or (view loop cel)If an icon object is specified, it is drawn to the dialog. Otherwise, three parameters are need, and the icon will be drawn with the view, loop and cel specified.#disposedisposes the object pointed to by the global variable gPrintDlg, then sets gPrintDlg to point to the dialog.#window newWindowSets the dialog's window to newWindow.
It returns the length of the string entered.