[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Event handler signalled to draw the menu item.
Source position: menus.pp line 352
published property TMenuItem.OnDrawItem : TMenuDrawItemEvent |
OnDrawItem is a TMenuDrawItemEvent property with the event handler signalled to draw the menu item. OnDrawItem is signalled (when assigned) from the DoDrawItem method using the canvas, rectangle, and drawing state passed as arguments.
A menu item may use the OnDrawItem handler found in a parent Menu if it does not have one of its own.
|
Menu where the menu item is displayed. |
|
|
The parent menu item for the class instance. |
|
|
Performs actions needed to draw the menu item to the specified Canvas. |
|
|
Event handler signalled to draw a menu item on the menu. |
|
|
Specifies an event handler signalled to draw a menu item on the given canvas. |
Version 4.0 | Generated 2025-05-03 | Home |