Skip to main content

TcxCustomTabControl.OnDrawTab Event

Enables you to paint tabs using custom draw.

Declaration

property OnDrawTab: TcxDrawTabEvent read; write;

Remarks

Handle this event to perform custom drawing of tabs. If the OwnerDraw property value is True, the event fires for every tab within the control each time the control is repainted.

The AControl parameter specifies the tab control whose tab is to be painted. The ATab parameter specifies the painted tab. Use the DefaultDraw parameter to specify whether default drawing must be performed. If a tab has been painted in the event handler, set this property to False.

See Also