Hello
I would like to change the font for a DBRichText field but cannot
figure out how to do it using RAP. I need to do something like this in
the OnPrint event within the dade :
dbrichtext2.SelectAll;
dbrichtext2.SelAttributes.assign(Default_Font);
Thanks
Stuart
--
Comments
In order to use the Assign method of the TTextAttributes object in RAP, you
will need to create a pass thru function to Delphi. Examples of creating
pass thru functions can be found in the ReportBuilder Developer's Guide and
in the RAP demo located in the \RBuilder\Demos\0. RAP\... directory.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com