ArchiveFileName
Please can you help me about this question?
In RB there is property ArchiveFileName and at runtime I set it with a name
and location to export archive file.
At runtime in print dialog when I change from archive file to PDF or others
in combobox it clear edit with name e location file. I need to able to
change name and location at runtime when it change kind of file in combobox.
How can I do it ?
Thank You
In RB there is property ArchiveFileName and at runtime I set it with a name
and location to export archive file.
At runtime in print dialog when I change from archive file to PDF or others
in combobox it clear edit with name e location file. I need to able to
change name and location at runtime when it change kind of file in combobox.
How can I do it ?
Thank You
This discussion has been closed.
Comments
event property to control this change. Copy ppPDlg.pas and rename the form.
Then register this (see the initialization/finalization section of the unit)
as the print dialog which should be used by RB. All forms in RB are meant to
be replacable. Then use the Report.OnPrintDialogCreate to access the print
dialog and typecast the print dialog property of the report and assign the
new event an event handler at runtime. Save a handle to this object or keep
referencing the Report.PrintDialog propertry and typecast it. Then you can
listen for changes in the device setting of the dialog and update the
filename used for each device type.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com