Memo in Header not bold
I have a very simple report that uses a memo control to allow a changable
header label. This was necessary to allow the header to adjust down for
longer header labels. The header uses bold for the font, but once the label
is set the memo converts the text to normal instead of bold.
I tried setting the bold:
Memo1.Font.Bold := true;
But no matter where I set it, the memo remains in normal case.
Am I missing something?
Tim Hayes
header label. This was necessary to allow the header to adjust down for
longer header labels. The header uses bold for the font, but once the label
is set the memo converts the text to normal instead of bold.
I tried setting the bold:
Memo1.Font.Bold := true;
But no matter where I set it, the memo remains in normal case.
Am I missing something?
Tim Hayes
This discussion has been closed.
Comments
Are you loading templates by chance? If so, you will need to set this
property inside the OnLoadEnd event. Where have you tried setting this
value?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
header section before print and before generate.
This is a very simple report that prints a 2 column list. It pulls the
header values from a table value (though the pipe). I ran into the problem
when it was discoverd that a new header label was much longer than expected.
The variable that was originally uses worked fine, and other than the memo
control not being bold the memo works just like I needed.
Tim Hayes
Which version of ReportBuilder are you using? Does this only occur after
you set the text of the memo in code? If you assign the text to the memo at
design time and set it to bold, will it show up bold then?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Make sure you aren't using the Rich Text version of the memo. Rich Text
uses it's on internal formatting and setting the font of the memo will have
NO effect on it's contents.
Mark Greenhaw
One Domain, Inc.
I tried setting the memo manually and running the report then. The bold is
on when in the design view, but in preview or running the report it goes
away. Could it have something to do with the header streatching to
compensate for the changed memo height?
Are you using the latest version 9.03? If not, I would recommend upgrading.
If you create a new application, drop a report on a form and place a TppMemo
object in the header band with any text and set it to Bold, do you still see
the same behavior?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com