FMX.Objects.TPaintBox.OnPaint
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.