Sign in Join
FPDoc Onlineexperiment

TFont.SetFlags procedure

Member of TFontprotectedIn unit Graphics

Sets the value for an indexed style flag.

Declaration

pascal
procedure SetFlags(Index: Integer; AValue: Boolean); override

Description

SetFlags is an overridden method used to set the value for an individual style flag by its ordinal position.

Index contains the position for the style flag used in the canvas helper for the class.

AValue is a Boolean value that indicates whether the TFontStyle value is included in or excluded from the style flags.

SetFlags is called when a new value is assigned to the Style property differs from the existing value.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.