Table of Contents

TTMSFNCTabSet.OnBeforeDrawTabBackground Event

Occurs before a tab background is drawn and allows default drawing to be suppressed.

API unit family: TMSFNCTabSet Declaring type: TTMSFNCTabSet Inherited from: TTMSFNCCustomTabSet

Syntax

OnBeforeDrawTabBackground: TTMSFNCTabSetBeforeDrawTabBackgroundEvent;

Parameters

Name Description
Sender Object that triggered the event.
AGraphics Graphics context used for drawing.
ATabIndex Zero-based index of the tab being drawn.
ARect Bounds of the tab background.
AState Current visual state of the tab.
ADefaultDraw Set to False to skip default drawing.