You are here: Symbol Reference > JSGraphics Namespace > Classes > TJSCaptionControl Class > TJSCaptionControl Properties > TJSCaptionControl.Font Property
LMD DialogPack
ContentsIndexHome
PreviousUpNext
TJSCaptionControl.Font Property

Specifies the attributes of text written on or in the control.

Pascal
property Font;

To change to a new font, specify a new TFont object. To modify a font, change the value of the Charset, Color, Height, Name , Pitch, Size, or Style of the TFont object. 

 

Note: Changing the font color of the Caption is not supported for some controls (such as TButton). In most cases, there is an alternate control you can use whose Font property will change the color of the caption or text (such as TBitBtn or TSpeedButton). 

Copyright © 2013 by LMD Innovative. All rights reserved.
Copyright © 2013 by LMD Innovative. All rights reserved.
What do you think about this topic? Send feedback!