TTMSFNCPopupMenu.OnBeforeDrawMenuItemNote Event
Fires before the note text of an item is drawn; set
ADefaultDrawtoFalseto take over drawing.
API unit family: TMSFNCPopupMenu
Declaring type: TTMSFNCPopupMenu
Inherited from: TTMSFNCCustomPopupMenu
Syntax
OnBeforeDrawMenuItemNote: TTMSFNCPopupMenuBeforeDrawMenuItemText;
Parameters
| Name | Description |
|---|---|
Sender |
The popup menu that raised the event. |
AGraphics |
Canvas used to draw the note text. |
AMenuItemControl |
The item control whose note is being drawn. |
ADrawingParameters |
Text bounds and font settings; modify to adjust rendering. |
AAllow |
Set to False to skip note drawing entirely. |
ADefaultDraw |
Set to False to suppress built-in note drawing and handle it yourself. |