wxprintdialog()
Description
Displays a dialog (normally an OS common dialog) to allow the setting up of
the printer. This can optionally have printer settings passed in as the
existing configuration. If the user exits via the OK button, the printer
settings will be returned in the dialogdata
parameter, which must be a pre-initialized string object.
Prototype
wxprintdialog
(
type(wxdialogparent)
,
string parent
,
string dialogdata
)
result
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
parent | .nul | type(wxdialogparent) | Gives the parent of the common dialog, if any. |
dialogdata | .nul | string | This will contain the printer settings when the function returns if the user closed the dialog with OK. It can also be used to preset the printer dialog settings before they are shown. It must be an existing (pre-initialized) object. |
result | .nul | string |
The result (either "ok" or "cancel" )
will be returned in the string object passed as this parameter. It
must be an existing (pre-initialized) object.
|