TCustomRichView.UseFMXThemes [FMX]

<< Click to display table of contents >>

TCustomRichView.UseFMXThemes [FMX]

Allows using a text color from a FireMonkey style.

property UseFMXThemes: Boolean;

(introduced in version 23)

If True, when drawing documents, FireMonkey style's foreground color is used instead of black color. All other colors are unaffected. FireMonkey style is specified in StyleLookup property.

If the specified style does not have TBrush resource named 'foreground', black color remains unchanged.

This property allows supporting light-on-dark styles.

Default value

False

See also:

UseVCLThemes

DarkMode