run-time report creation problem
Hi,
I am creating reports at run time, and I need to set the font of the
components.
Everything's fine, however, if my default printer is invalid (let's say it
just points
to a printer on a server which is down....), then the report fails
"Canvas does nor allow drawing", because actually an invalid printer handle
is used,
canvas.handle is zero, etc, etc... How can I create the report at run time
if default
printer is not accessible? However, there are other printers in the system,
which I could use once the report is ready (ShowPrintDialog=true, so i could
choose).
Thanks,
Lucian
I am creating reports at run time, and I need to set the font of the
components.
Everything's fine, however, if my default printer is invalid (let's say it
just points
to a printer on a server which is down....), then the report fails
"Canvas does nor allow drawing", because actually an invalid printer handle
is used,
canvas.handle is zero, etc, etc... How can I create the report at run time
if default
printer is not accessible? However, there are other printers in the system,
which I could use once the report is ready (ShowPrintDialog=true, so i could
choose).
Thanks,
Lucian
This discussion has been closed.
Comments
support@digital-metaphors.com to request it. Please also make sure you are
using RB6.03. Contact info@digital-metaphors.com for more information.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
for the system them my application will not open? I can't remember the error
as it is unusual to have a PC with no printer configured.
If so can I have the patch too?
Sarah
print. Please email support@digital-metaphors.com for patch requests.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
We are using RB6.03 and I sent an email couple hours ago.
Thanks,
Lucian
Thanks,
Joanne
"Alexander Kramnik \(Digital Metaphors\)"
version until the next release. Therefore, most likely you do, especially if
you are having this particular problem.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com