Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Font Style

edited March 2004 in End User
Hi,
Do I have any property to modify the font style of a label variable at
runtime with Rap ?.
I found published the size and the color property for the font attribute but
no the style property.

For example
label1.Font.Color:= clRed;
label1.Font.Size:=11; (complile with out errors) but

label1.Font.Style:= sbBold; (compile with error).

Thank you
--
Ing. Carlos M. Sotomayor
Grte. de Tecnolog?a
www.arizmendicomputos.com
www.arizmendi.com
TE 5235-7000/7005

Comments

  • edited March 2004
    Hi Carlos,

    RAP does not support Delphi Sets so we have added the following boolean
    properties to TFont for this purpose: Bold, Italic, Normal, Underline and
    Strikeout. To set a font to bold in RAP, you would say myFont.Bold := True;
    Likewise to remove style specifications from a font, you would say
    myFont.Normal := True;

    --
    Best Regards,

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