Vcl.ComCtrls.TToolBar.Canvas

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Canvas: TCanvas read FCanvas;

C++

__property Vcl::Graphics::TCanvas* Canvas = {read=FCanvas};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TToolBar

Description

Specifies the drawing surface for the toolbar.

Use Canvas to draw or paint on the surface of the toolbar in an OnCustomDraw or OnCustomDrawButton event handler. The TCanvas object provides the properties and methods needed for drawing and painting.

See Also

Code Examples