FMX.Styles.Objects.TCustomStyleObject.OnPainting

From RAD Studio API Documentation

Delphi

property OnPainting: TOnPaintEvent read FOnPainting write FOnPainting;

C++

__property OnPainting;

Properties

Type Visibility Source Unit Parent
event published
FMX.Styles.Objects.pas
FMX.Styles.Objects.hpp
FMX.Styles.Objects TCustomStyleObject

Description

Occurs when the control is painted. {{#multireplace:FMX.Styles.Objects.TCustomStyleObject.OnPainting|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Controls.TControl.OnPainting|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Controls.TControl.OnPainting|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Occurs when the control is painted.

OnPainting also occurs when Painting is called.

Write an event handler for OnPainting to change the way the control is painted.

See Also