[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Indicates if the menu items are drawn using the OnDrawItem event handler.
Source position: menus.pp line 432
published property TMenu.OwnerDraw : Boolean |
OwnerDraw is a Boolean property which indicates if the menu items are drawn using the OnDrawItem event handler. The default value for the property is False.
OwnerDraw is used when the widgetset class renders the menu. If OwnerDraw is False, the default drawing routines for the platform are used to draw the menu control. Otherwise, the OnMeasureItem and OnDrawItem event handlers are signalled for the purpose.
Remark: | OwnerDraw, OnDrawItem, and OnMeasureItem are not supported on the macOS Carbon, GTK2, QT4, QT5, and QT6 widgetsets. |
|
Event handler signalled to draw a menu item on the menu. |
|
|
Event handler signalled to get the width and height for a menu item on the menu. |
|
|
Event handler signalled to draw the menu item. |
|
|
Event handler signalled to get the Width and Height for the menu item. |
Version 4.0 | Generated 2025-05-03 | Home |