TiComponent.ErrorFont

TiComponent See Also

Controls the font attributes of ErrorText.

property ErrorFont : TFont;

Description

Use ErrorFont to change the font attributes of the ErrorText property. To change to a new font, specify a new TFont object. To modify a font, change the value of the Color, Height, Name, Pitch, Size, or Style of the TFont object.

Example

Delphi

iComponent.ErrorFont.Name := 'MS Sans Serif';

C++ Builder

iComponent->ErrorFont->Name = "MS Sans Serif";

Contents | Index | Previous | Next