Setting default font for TppRichText component
How do we do it?
Currently the DefAttributes is unavailable.
We have tried setting SelAttributes on the ppDesignerCreateComponent event
but they are lost if no text is selected.
The help systems suggests that the last used attributes will be used for the
next input but this doesn't work when no text.
The problem being that when a user adds RichText component to a report in
the Designer, the default font is currently blank and is set to 0pt ...
How can we resolve this?
Regards,
Pete
Currently the DefAttributes is unavailable.
We have tried setting SelAttributes on the ppDesignerCreateComponent event
but they are lost if no text is selected.
The help systems suggests that the last used attributes will be used for the
next input but this doesn't work when no text.
The problem being that when a user adds RichText component to a report in
the Designer, the default font is currently blank and is set to 0pt ...
How can we resolve this?
Regards,
Pete
This discussion has been closed.
Comments
wrong, it should default to something.
To work around the problem, try adding a single space to the RichText, and
setting the font of that space...
Cheers,
Tom Ollar
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com