Home RAP

TFont object

edited September 2003 in RAP
Hi list,
how can i access to Style property of a TFont object?
Example:
In the OnCalc event of a TppVariable i've coded:
if ...
begin
DBText2.Font.Style := [fsbold]
...
end;
but it fires up an error

Any help appreciated
Paolo Fenelli

Comments

  • edited September 2003
    Hi Paolo,

    Since RAP does not support Delphi Sets, we decided to make each Font.Style
    into a boolean property to enable a user to access them. You're RAP code
    should look something like the following:

    BadgeName.Font.Bold := True;

    For more information, please see the RAP FAQ located in the ReportBuilder
    help file in the RAP Reference section

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.