FMX.Controls.TControl.OnPainting
Delphi
property OnPainting: TOnPaintEvent read FOnPainting write FOnPainting;
C++
__property TOnPaintEvent OnPainting = {read=FOnPainting, write=FOnPainting};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TControl |
Description
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.