API:Vcl.Forms.TScrollingStyleHook.Paint
Delphi
procedure Paint(Canvas: TCanvas); override;
C++
virtual void __fastcall Paint(Vcl::Graphics::TCanvas* Canvas);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
class protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TScrollingStyleHook |
Description
Paints the control.
Vcl.Forms.TScrollingStyleHook.Paint inherits from Vcl.Themes.TStyleHook.Paint. All content below this line refers to Vcl.Themes.TStyleHook.Paint.
Paints the control.
Call Paint to draw the control on the given Canvas.
Override this method to paint your custom control using the current style.