Show: Object Pascal C++
Display Preferences

FMX.Controls.TControl.OnPaint

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property OnPaint: TOnPaintEvent read FOnPaint write FOnPaint;

C++

__property TOnPaintEvent OnPaint = {read=FOnPaint, write=FOnPaint};

Properties

Type Visibility Source Unit Parent
event public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Occurs when the control is redrawn.

OnPaint also occurs when DoPaint is called.

Write an event handler for OnPaint to change the way the control renders itself.

See Also

Personal tools
Translations