Home RAP

Reference for RAP objects

edited October 2009 in RAP
I've looked in the help but can't find what I am looking for.

One of my Field Support Engineers was helping a customer and needed to
set a font to Bold depending upon a condition.


if pJITData['FinStmtLvl04_D'] = 'Gross Profit'
then VarCat04FootAcctDesc.Font.Bold := true
else VarCat04FootAcctDesc.Font.Bold := false;

He discovered the above by searching the internet.

Is there documentation somewhere that shows which objects are available
and the properties/types that have been exposed inside RAP?

e.g. the Bold property above is not a one for one since Bold in Delphi
is actually of enumerated type (fsbold) and part of the set Style property.

Label1.Font.Style := [fsBold]


  • edited October 2009
    Hi Mark,

    Generally, since RAP does not support sets, we provide special boolean
    properties to set the value of a property that use them (such as TFont).

    The special properties are usually fairly simple...

    Font.Bold := True;
    Font.Underline := True;
    Font.Italic := True;
    Font.Strikeout := True;
    Font.Normal := True; //sets the font back to it's normal state.

    Other properties such as Anchors and Borders are also implemented...

    Component.Border.Left := True;
    Component.Border.All := True;
    Component.Border.None := True;
    ... etc.

    Component.Anchors.AnchorLeft := True;
    Component.Anchors.AnchorLeftTop := True;


    Nico Cizik
    Digital Metaphors

    Best Regards,

    Nico Cizik
    Digital Metaphors
  • edited October 2009
    Thanks Nico,

    I had made that assumption. Just was curious if there was something
    printed up I could distribute to my customers. None of them are Pascal


  • edited October 2009
    Learning ReportBuilder RAP..see the bottom of this page


    Nard Moseley
    Digital Metaphors

    Best regards,

    Nard Moseley
    Digital Metaphors
  • edited October 2009

This discussion has been closed.