Vcl.Tabs.TTabSetDrawTabEvent
Delphi
TTabSetDrawTabEvent = procedure(Sender: TObject; TabCanvas: TCanvas; R: TRect;
Index: Integer; Selected: Boolean) of object;
TTabSetDrawTabEvent = procedure(Sender: TObject; TabCanvas: TCanvas; R: TRect;
Index: Integer; Selected: Boolean) of object;
C++
typedef void __fastcall (__closure *TTabSetDrawTabEvent)(System::TObject* Sender, Vcl::Graphics::TCanvas* TabCanvas, const Winapi::Windows::TRect &R, int Index, bool Selected);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.Tabs.pas 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.