Xbasic
UI_GET_PRINT_OR_PREVIEW Function
Syntax
selection as C = ui_get_print_or_preview([C default ])
Arguments
- selection
Returns either "Print" or "Preview".
- default
Optional. Default value for the dialog box. Either "Print" or "Preview".
Description
The UI_GET_PRINT_OR_PREVIEW() function displays the Print Method dialog box and returns the user's selection. It prompts users to answer if the layout should be printed or previewed.
Example
? ui_get_print_or_preview() = "Preview"
Limitations
Desktop applications only.
See Also