TMenuItem.AutoLineReduction property
Indicates the method used to perform line reduction for the menu item and optionally for its child Items.
Declaration
property AutoLineReduction: TMenuItemAutoFlag read FAutoLineReduction write SetAutoLineReduction default maParent;Description
AutoLineReduction is a
TMenuItemAutoFlag property which
controls if redundant separators on child Items are automatically hidden on the
submenu. Line reduction causes leading, trailing, or adjacent menu separators
to be hidden.
maAutomatic and maParent cause redundant separators to be maintained by the Parent menu item (or menu). Use maManual if line reduction is performed only when the RethinkLines method is explicitly called. The default value for the property is maParent and causes the line reduction setting in the Parent to be applied to the menu item.
See TMenuItemAutoFlag for more information about the valid values for the property.
Changing the value for the property causes the MenuChanged method to be called to signal the OnChange event handler and to build (display) the menu and its child Items at run-time.
Added in LCL version 4.0.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
