Table of Contents

TTMSFNCPopupMenu.OnAfterDrawMenuItem Event

Fires after an item row has been drawn, allowing post-draw decoration.

API unit family: TMSFNCPopupMenu Declaring type: TTMSFNCPopupMenu Inherited from: TTMSFNCCustomPopupMenu

Syntax

OnAfterDrawMenuItem: TTMSFNCPopupMenuAfterDrawMenuItem;

Parameters

Name Description
Sender The popup menu that raised the event.
AGraphics Canvas used to draw the item row.
AMenuItemControl The item control that was drawn.
ADrawingParameters Drawing bounds and state used during rendering.