[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Menus' (#lcl)

TMenuItemAutoFlag

Represents line reduction modes available for menu items.

Declaration

Source position: menus.pp line 62

type TMenuItemAutoFlag = (

  maAutomatic,

  

The parent menu (including a top-level menu item) is automatically examined and updated when the menu is displayed.

  maManual,

  

The parent menu (including a top-level menu item) is automatically examined and updated when a method which performs the action is explicitly called.

  maParent

  

A 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.

);

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.

Version info

Added in LCL version 4.0.

See also

TMenuItem.AutoLineReduction

  

Indicates the method used to perform line reduction for the menu item and optionally for its child Items.


Version 4.0 Generated 2025-05-03 Home