RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Tabs.TTabSetDrawTabEvent Type

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

Pascal
TTabSetDrawTabEvent = procedure (Sender: TObject; TabCanvas: TCanvas; R: TRect; Index: Integer; Selected: Boolean) of object;
C++
(Sender: TObject; TabCanvas: TCanvas; R: TRect; Index: Integer; Selected: Boolean) ( TTabSetDrawTabEvent)();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!