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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    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

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


PrintDialog.GetReverseOrder - PrintDialog.Install

Feedback: Report problem or ask question.