Show: Delphi C++
From XE2 API Documentation
typedef void __fastcall (__closure *TDrawTabEvent)(TCustomTabControl* Control, int TabIndex, const System::Types::TRect &Rect, bool Active);
Control is the tab control on which a tab is to be drawn.
TabIndex is the position of the tab that is to be drawn.
Rect is the area in which the tab is to be drawn.
Active indicates whether the tab is active.
Note: The TDrawTabEvent type defined in the comctrls unit for the OnDrawTab event handler differs from the TDrawTabEvent type defined in the tabs unit. Do not use the tabs unit in source files where you are working with a TTabControl control.