Sign in Join
FPDoc Onlineexperiment

TMenuItemAutoFlag enumeration

In unit Menus

Represents line reduction modes available for menu items.

Declaration

pascal
TMenuItemAutoFlag = (maAutomatic,maManual,maParent)

Description

TMenuItemAutoFlag is an enumerated type with values that represent the line reduction modes available for maintaining menu item instances. TMenuItemAutoFlag controls when a menu or menu items are checked and updated to eliminate redundant separators between adjacent menu items.

TMenuItemAutoFlag is the type used for the AutoLineReduction property in TMenuItem.

Added in LCL version 4.0.

See also

Values

maAutomaticThe parent menu (including a top-level menu item) is automatically examined and updated when the menu is displayed.
maManualThe parent menu (including a top-level menu item) is automatically examined and updated when a method which performs the action is explicitly called.
maParentA menu item is examined and updated using the line reduction applied to the parent menu item. maParent is not relevant for TMenu (TMainMenu) instances; they do not have a parent menu item and the value is translated at run-time to maAutomatic.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.