Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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