TMenuItem.Default property
Indicates if the menu item is the default selection.
Declaration
property Default: Boolean read FDefault write SetDefault default False;Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
