| appFrame__app_path |
string | Stores the full path to the application program file. |
| appFrame__app_thread |
thread | Stores the coroutine thread for the application. |
| appFrame__yield_point |
string | The thread's last yield point. |
| gdi |
GDI |
GDI object for the printer to query. |
| status | string |
The printer's status. |
| dir | string | Desktop directory under /win/devices. |
| frame | applicationFrame | The instantiated frame window. |
| gdi | GDI | GDI object to use for drawing. |
| bounds | rect | Invalidated area of the window. |
| none |
| title | string | Displayed in the title bar and set as window text. |
| none |
| none |
| path | string | Full path to this application's program file. |
| none |
| result | boolean | True if successfully created, false if not. |
| none |
| result | boolean | Always true. |
| title | string | Document title. |
| user_data | any | Custom data passed to the printing mechanism. |
| pages | number | Total pages in document. Zero means unspecified (cmndlg.print does not display page range, and data.from_page and data.to_page are zero). |
| bgcolor | number | The background color for the cmndlg.print popup frame. If nil the theme's popup_back color is used. |
| data | printData | The constructed printData object containing information for the print run, or nil if cancelled. |
| gdi | GDI | GDI object to use for drawing. |
| page | number | 1 based page number to print. |
| data | printData | Print data object containing information about the print run. |
| continue | boolean | Always false. |
| none |
| result | boolean | Always false. |
| none |
| result | boolean | Always true. |
| none |
| none |
| data | printData | Print data object containing information for the print run. If nil the loop does not run and returns immediately. |
| none |
| none |
| none |
| wnd | window | Window the event is for. |
| ... | any | Any additional parameters. |
| result | boolean/table | For events: the returned value from the event
handler. For other yields: all parameters passed back from the yield. On failure false is returned. |
| none |
| none |
| title | string | Displayed in the title bar (if required) and set as window text. |
| none |
| none |
| status | string | The thread's status. |
| running | The thread is currently running. |
| normal | The thread is active but has resumed another thread. |
| dead | The thread has returned or thrown an uncaught error. |
| modal | The thread yielded from its modal loop. |
| other |
The first parameter of any other type of
yield. |