Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

PrintDialog.GetTray

Queries tray name.

Component Version macOS Windows Linux Server iOS SDK
PrintDialog 6.1 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "PrintDialog.GetTray" { ; LastTray } )   More

Parameters

Parameter Description Example Flags
LastTray Pass 1 to return the last tray name used by print dialog.
This allows you use the print dialog and than see what value is used internally for the tray you selected.
Pass 0 to get the text you passed to PrintDialog.SetTray.
0 Optional

Result

Returns text or error.

Description

Queries tray name.

Examples

Query last tray selection from dialog:

MBS( "PrintDialog.GetTray"; 1 )

See also

Blog Entries

This function is free to use.

Created 10th February 2016, last changed 11st February 2016


PrintDialog.GetReverseOrder - PrintDialog.Install

💬 Ask a question or report a problem