Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4    Statistic  

PageSetupDialog.Install

Installs the extension for the page setup dialog.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PrintDialog 9.2 Yes No No No No
MBS( "PageSetupDialog.Install" )   More

Parameters

none

Result

Returns OK or error.

Description

Installs the extension for the page setup dialog.
Only after PageSetupDialog.Install was called, you can use PageSetupDialog.Enable.
You only call this function once.

This is Mac only. For Windows, please check Printer.SetPrinter and Printer.Print.

Examples

Initialize paper setup dialog:

Set Variable [ $r ; Value: MBS("PageSetupDialog.Install") ]

Run dialog with plugin:

Allow User Abort [ Off ]
Set Variable [ $r ; Value: MBS("PageSetupDialog.Install") ]
Set Variable [ $r ; Value: MBS("PageSetupDialog.Enable") ]
# set options here
Set Variable [ $r ; Value: MBS( "Schedule.EvaluateAfterDelay"; ,1; "MBS( \"Menubar.RunMenuCommand\"; 57606 )") // run Page Setup Dialog in 0.1 seconds ]
Pause/Resume Script [ Duration (seconds): 1 ]

See also

Example Databases

Blog Entries

Created 20th April 2019, last changed 20th April 2019


PageSetupDialog.GetScalingFactor   -   PageSetupDialog.SetNoDialog

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos