Vcl.ComCtrls.TCustomTabControl.OnDrawTab

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDrawTab: TDrawTabEvent read FOnDrawTab write FOnDrawTab;

C++

__property TDrawTabEvent OnDrawTab = {read=FOnDrawTab, write=FOnDrawTab};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomTabControl

Description

Occurs when a tab is about to be drawn.

Use OnDrawTab to customize the painting of tabs.

You can paint the tab using the Canvas property.

OnDrawTab is an event handler of type Vcl.ComCtrls.TDrawTabEvent. See TDrawTabEvent for a description of the parameters.

See Also