Font Style
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
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
This discussion has been closed.
Comments
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;
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com