[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Indicates if the menu item is the default selection.
Source position: menus.pp line 329
published property TMenuItem.Default : Boolean |
When Default is set to True, the menu item is normally displayed using a bold typeface. The default value for the property is False and indicates that the menu item is not the default menu item.
Only one of the entries in Items for a given TMenuItem instance can be the default menu item. Changing the value for the Default property clears the previous default item prior to setting the new default item. In addition, MenuChanged is called to signal the OnChange event handler (when assigned). This allows a parent menu item to be updated or rebuilt after the default item has been changed.
Remark: | The Default property is not supported for the GTK2, GTK3, QT4, QT5, and QT6 widgetsets. |
|
Menu where the menu item is displayed. |
|
|
Provides indexed access to the child menu items for the current class instance. |
|
|
Signals the OnChange event handler (when assigned) and optionally rebuilds child menu items. |
|
|
Contains the menu items displayed on the menu. |
Version 4.0 | Generated 2025-05-03 | Home |