FMX.Objects.TPaintBox.OnPainting

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnPainting: TOnPaintEvent read FOnPainting write FOnPainting;

C++

__property OnPainting;

Properties

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

Description

Occurs when the control is painted.

FMX.Objects.TPaintBox.OnPainting inherits from FMX.Controls.TControl.OnPainting. All content below this line refers to FMX.Controls.TControl.OnPainting.

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