Reference for RAP objects
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.
e.g.
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]
One of my Field Support Engineers was helping a customer and needed to
set a font to Bold depending upon a condition.
e.g.
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]
This discussion has been closed.
Comments
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;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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
programmers.
Mark
http://www.digital-metaphors.com/download/learning_reportbuilder.html
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com