RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTabControl.OnDrawTab Event

Occurs when a tab is about to be drawn.

Pascal
property OnDrawTab: TDrawTabEvent;
C++
__property TDrawTabEvent OnDrawTab;

Use OnDrawTab to customize the painting of tabs. 

You can paint the tab using the Canvas property. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!