diff --git a/docs/xml/lcl/menus.xml b/docs/xml/lcl/menus.xml index 1dba1f4784..8b452fcf2a 100644 --- a/docs/xml/lcl/menus.xml +++ b/docs/xml/lcl/menus.xml @@ -2979,14 +2979,31 @@ Indicates if the menu item is the default selection.

When Default is set to True, the menu item is normally -displayed in boldface and can be executed by pressing the Enter key. +displayed using a bold typeface and can be executed by pressing the +Enter key. The default value for the property is False and +indicates that the menu item is not the default menu item. +

+

+Only one item in the Items hierarchy for TMenuItem can be the default menu +item. Changing the value for the property causes items on the parent menu item +to be visited and updated (when assigned). Another TMenuItem instance with its +Default property enabled is changed to False prior to updating Default +in the class instance. 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 menu item has been changed.

The Default property is not supported for the GTK2, GTK3, QT4, QT5, and QT6 widgetsets.
- + + + + + + + @@ -2994,8 +3011,10 @@ widgetsets. Indicates if the menu item can be selected and executed. +

When Enabled is set to False, the menu item is normally displayed using a "greyed" style. +