FORM.PREVIEW Function
Syntax
Arguments
- layoutname
The name of the form to preview.
- filter
Optional. Default = ".T." (All records). A character filter expression that evaluates to a logical value and selects the records to show in the dialog.
- order
Optional. Default = record order. A character order expression that sorts selected records.
- modal
Optional. Default = .F. .T. = The user cannot change focus without closing the dialog. .F. = The user can change focus without closing the dialog.
- session_modal
Optional. Default = .T. .T. = This means that any script that calls the FORM.PREVIEW() method will pause until the Print Preview window is closed. However, the preview window itself is not a modal dialog box. The user is free to select other windows in Alpha Anywhere. .F. = The script does not pause until the Print Preview window is closed.
- arguments
*
- options
*
Description
The FORM.PREVIEW() method displays the Preview dialog box showing the selected form.
Limitations
Desktop applications only.
See Also