API:Vcl.ComCtrls.TTabControl.OnDrawTab
Delphi
property OnDrawTab: TDrawTabEvent read FOnDrawTab write FOnDrawTab;
C++
__property OnDrawTab;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTabControl |
Description
Occurs when a tab is about to be drawn.
Vcl.ComCtrls.TTabControl.OnDrawTab inherits from Vcl.ComCtrls.TCustomTabControl.OnDrawTab. All content below this line refers to Vcl.ComCtrls.TCustomTabControl.OnDrawTab.
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.