Vcl.Tabs.TMeasureTabEvent
Delphi
TMeasureTabEvent = procedure(Sender: TObject; Index: Integer;
var TabWidth: Integer) of object;
C++
typedef void __fastcall (__closure *TMeasureTabEvent)(System::TObject* Sender, int Index, int &TabWidth);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.Tabs.pas Vcl.Tabs.hpp |
Vcl.Tabs | Vcl.Tabs |
Description
TMeasureTabEvent is the type for event handlers that indicate the size of the tabs in an owner-drawn TTabSet control.
Sender is the TTabSet control whose tab is about to be drawn.
Index identifies the position of the tab in the tab set control.
TabWidth is the width of the tab.