Vcl.Tabs.TTabSetDrawTabEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TTabSetDrawTabEvent)(System::TObject* Sender, Vcl::Graphics::TCanvas* TabCanvas, const System::Types::TRect &R, int Index, bool Selected);

Properties

Type Visibility Source Unit Parent
typedef public Vcl.Tabs.hpp Vcl.Tabs Vcl.Tabs

Description

TTabSetDrawTabEvent is the type for event handlers that render the tab of an owner-drawn TTabSet control.

TabCanvas is the canvas on which the item is drawn.

Index is the position of the tab in the tab set control.

R is the area in the tab where the item is to be drawn.

Selected indicates whether the tab is currently selected.

See Also