Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

NSPageLayoutMBS.beginSheetWithPrintInfo(printInfo as NSPrintInfoMBS, win as NSWindowMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa Printing MBS MacCocoa Plugin 12.4 Yes No No No No
Function: Presents a page setup sheet for the given NSPrintInfo object, document-modal relative to the given window.
Notes:
printInfo: The NSPrintInfo object to use.
win: The window to which the sheet is attached.

This method calls the printPanelDidEnd event later passing returnCode which is either NSCancelButton (0) or NSOKButton (1).

See also:

Feedback, Comments & Corrections

NSPageLayoutMBS.beginSheetWithPrintInfo(printInfo as NSPrintInfoMBS, win as window)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa Printing MBS MacCocoa Plugin 12.4 Yes No No No No
Function: Presents a page setup sheet for the given NSPrintInfo object, document-modal relative to the given window.
Notes:
printInfo: The NSPrintInfo object to use.
win: The window to which the sheet is attached.

This method calls the printPanelDidEnd event later passing returnCode which is either NSCancelButton (0) or NSOKButton (1).

See also:

Feedback, Comments & Corrections

NSPageLayoutMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa Printing MBS MacCocoa Plugin 12.4 Yes No No Yes, macOS only No
Function: Initializes a new page layout object.

Feedback, Comments & Corrections

NSPageLayoutMBS.printInfo as NSPrintInfoMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa Printing MBS MacCocoa Plugin 12.4 Yes No No Yes, macOS only No
Function: Returns the NSPrintInfo object used when the receiver is run.
Notes: The NSPrintInfo object is set using the beginSheetWithPrintInfo or runModalWithPrintInfo method. The shared NSPrintInfo object is used if the receiver is run using runModal.

Feedback, Comments & Corrections

NSPageLayoutMBS.runModal as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa Printing MBS MacCocoa Plugin 12.4 Yes No No Yes, macOS only No
Function: Displays the receiver and begins the modal loop using the shared NSPrintInfo object.
Example:
dim p as new NSPageLayoutMBS
MsgBox str(p.runModal)
Notes:
Returns NSCancelButton (0) if the user clicks the Cancel button; otherwise, NSOKButton (1).
The receiver's values are recorded in the shared NSPrintInfo object.

Feedback, Comments & Corrections

NSPageLayoutMBS.runModalWithPrintInfo(printInfo as NSPrintInfoMBS) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Cocoa Printing MBS MacCocoa Plugin 12.4 Yes No No Yes, macOS only No
Function: Displays the receiver and begins the modal loop using the given NSPrintInfo object.
Notes:
printInfo: The NSPrintInfo object to use.

Returns NSCancelButton if the user clicks the Cancel button; otherwise, NSOKButton.
The receiver's values are recorded in printInfo.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS MacCocoa Plugin.

The biggest plugin in space...




Links
MBS FileMaker blog