Table of Contents

TTMSFNCPopupMenuBeforeDrawMenuItem Event Type

Fires before a menu item row is drawn; set AAllow or ADefaultDraw to suppress default rendering.

API unit family: TMSFNCPopupMenu

Parameters

Name Description
Sender The popup menu that raised the event.
AGraphics Graphics context for custom drawing.
AMenuItemControl The item control being drawn.
ADrawingParameters Layout parameters for the item; may be modified.
AAllow Set to False to cancel drawing.
ADefaultDraw Set to False to skip default drawing.