pagesetup
pagesetup

The pagesetup statement displays the page setup dialog.

Parameters

No parameters.

Description

The pagesetup statement displays the page setup dialog, allowing the page setup options to be changed for the current window. This is the same as choosing Page Setup from the File menu.

Note: The pagesetup command should be the last statement that performs an action in your procedure (it’s ok to follow it with a return or endif statement). If there are any additional statements after pagesetup, they will run immediately – Panorama will not wait for you to finish using the Page Setup dialog. Running code while the Page Setup dialog is open will produce unpredictable results, so you should simply not have any code after this statement. In particular, do not chain the pagesetup statement with the print statement, like this.

    pagesetup
    print "" // <-- DO NOT DO THIS!!!

See Also

- Automatic Mailing Label Construction -- creates a mailing label.
- Automatic Report Construction -- creates a tabular report with columns of data.
- info("pagecount") -- calculates the total number of pages that will be printed.
- info("pagenumber") -- returns the current report page number.
- info("printer") -- returns the current default printer.
- info("printers") -- returns a list of all available printers.
- info("printsequence") -- returns the record sequence number of the record being printed.
- print -- prints the database.
- printonemultiple -- prints a form over and over again without advancing from record to record. Instead of advancing from record to record, a variable is incremented each time the form is printed. This statement is designed for printing calendars or thumbnails.
- printonerecord -- prints the the currently active record.
- printpdf -- prints the current database to a PDF file.
- printpreview -- previews what printing the current window will look like.
- printpreviewonerecord -- previews what printing the current record will look like.
- printtopdf -- prints the current database to a PDF file.
- printusingform -- allows the current database to be printed using a different form than the one currently being displayed.
- Report Tile Object -- component for assembling a custom report.
- setreportcolumns -- allows a procedure to control the number of columns of a report, and the direction (across or down).

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0.