FMX.Objects.TPaintBox.OnPaint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnPaint: TPaintEvent read FOnPaint write FOnPaint;

C++

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

Properties

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

Description

Occurs when TPaintBox requests to draw directly on a canvas.

Use the OnPaint event handler to draw the drawing surface of the paint box on the paint box's TCanvas.

See Also