mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 10:19:16 +02:00
Docs: LCL/menus. Modifies TMenuItem.Default to include suggested revisions.
This commit is contained in:
parent
d61c5aaa38
commit
dfba70e859
@ -2979,18 +2979,16 @@ Indicates if the menu item is the default selection.
|
|||||||
<descr>
|
<descr>
|
||||||
<p>
|
<p>
|
||||||
When <var>Default</var> is set to <b>True</b>, the menu item is normally
|
When <var>Default</var> is set to <b>True</b>, the menu item is normally
|
||||||
displayed using a bold typeface and can be executed by pressing the
|
displayed using a bold typeface. The default value for the property is
|
||||||
<b>Enter</b> key. The default value for the property is <b>False</b> and
|
<b>False</b> and indicates that the menu item is <b>not</b> the default menu item.
|
||||||
indicates that the menu item is <b>not</b> the default menu item.
|
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Only one item in the Items hierarchy for TMenuItem can be the default menu
|
Only one of the entries in Items for a given TMenuItem instance can be the
|
||||||
item. Changing the value for the property causes items on the parent menu item
|
default menu item. Changing the value for the Default property clears the
|
||||||
to be visited and updated (when assigned). Another TMenuItem instance with its
|
previous default item prior to setting the new default item. In addition,
|
||||||
Default property enabled is changed to <b>False</b> prior to updating Default
|
MenuChanged is called to signal the OnChange event handler (when assigned).
|
||||||
in the class instance. In addition, MenuChanged is called to signal the
|
This allows a parent menu item to be updated or rebuilt after the default item
|
||||||
OnChange event handler (when assigned). This allows a parent menu item to be
|
has been changed.
|
||||||
updated or rebuilt after the menu item has been changed.
|
|
||||||
</p>
|
</p>
|
||||||
<remark>
|
<remark>
|
||||||
The Default property is not supported for the GTK2, GTK3, QT4, QT5, and QT6
|
The Default property is not supported for the GTK2, GTK3, QT4, QT5, and QT6
|
||||||
|
Loading…
Reference in New Issue
Block a user