FMX.Forms.TForm.OnPaint

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property OnPaint: TOnPaintEvent read FOnPaint write FOnPaint;

C++

__property OnPaint;

Properties

Type Visibility Source Unit Parent
event published
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TForm

Description

Occurs when the form is redrawn.

FMX.Forms.TForm.OnPaint inherits from FMX.Forms.TCustomForm.OnPaint. All content below this line refers to FMX.Forms.TCustomForm.OnPaint.

Occurs when the form is redrawn.

Use OnPaint to perform special processing when the form is redrawn. Any special painting on the form should be done in this event. OnPaint occurs before any controls on the form are painted.

Tip: Notice that the OnPaint event handlers do not need to call BeginScene explicitly.

See Also