Vcl.ComCtrls.TDrawTabEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TDrawTabEvent)(TCustomTabControl* Control, int TabIndex, const System::Types::TRect &Rect, bool Active);

Properties

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

Description

TDrawTabEvent is the type for event handlers that render the tab of an owner-drawn Vcl.ComCtrls.TTabControl control for the OnDrawTab event.

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.

See Also