Table of Contents

TTMSFNCTimeline.OnBeforeDrawSection Event

Occurs before timeline drawing so rendering can be customized or cancelled.

API unit family: TMSFNCTimeline Declaring type: TTMSFNCTimeline Inherited from: TTMSFNCCustomTimeline

Syntax

OnBeforeDrawSection: TTMSFNCTimelineBeforeDrawSection;

Parameters

Name Description
Sender Object that triggered the event.
AGraphics Graphics context used for drawing.
ASection Section associated with the event.
ADrawingParams Drawing parameters for the timeline element.
AAllow Set to False to cancel the operation.
ADefaultDraw Set to False to skip the default drawing operation.