Vcl.ComCtrls.TTextAttributes.Style

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Style: TFontStyles read GetStyle write SetStyle;

C++

__property System::Uitypes::TFontStyles Style = {read=GetStyle, write=SetStyle, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TTextAttributes

Description

Determines whether the font is normal, italic, underlined, bold, or strikeout.

The Style property is a set drawn from the following values:



Value Meaning

fsBold

The font is boldfaced.

fsItalic

The font is italicized.

fsUnderline

The font is underlined.

fsStrikeOut

The font is displayed with a horizontal line through it.



Because the Style property is a set, it can contain multiple values. For example, a font could be both boldfaced and italicized.

Code Examples