TppRegion with Pen.Mode=pmNop
Hi,
one of our customers has the that a TppRegion prints with a grey
rectangle when the Pen.Mode is pmNop. I think the Printer driver is
buggy, but can you change the code in ppPrinterDev to do nothing if
Pen.Mode is pmNop? It is not necessary to paint lines in this case.
I often use TppRegion with Pen.Mode= pmNop to design my reports and
group some components. But in this case you can not see the border of
the region. Its diffcult to design the report with this behaviour. The
other controls paint an dotted line arround the border in design mode.
Is it posible to do this too with TppRegion?
Ciao Andreas
one of our customers has the that a TppRegion prints with a grey
rectangle when the Pen.Mode is pmNop. I think the Printer driver is
buggy, but can you change the code in ppPrinterDev to do nothing if
Pen.Mode is pmNop? It is not necessary to paint lines in this case.
I often use TppRegion with Pen.Mode= pmNop to design my reports and
group some components. But in this case you can not see the border of
the region. Its diffcult to design the report with this behaviour. The
other controls paint an dotted line arround the border in design mode.
Is it posible to do this too with TppRegion?
Ciao Andreas
This discussion has been closed.
Comments
Rather than using the Pen.Mode to hide the border, try simply setting the
Pen.Style to psClear. This will give you the same effect and you will be
able to design your reports easier.
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com