Vcl.Menus.TMenuAutoFlag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TMenuAutoFlag = maAutomatic..maManual;

C++

typedef TMenuItemAutoFlag TMenuAutoFlag;

Properties

Type Visibility Source Unit Parent
enum
typedef
public
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus Vcl.Menus

Description

TMenuItemAutoFlag and TMenuAutoFlag indicate when menu items are automatically maintained.

TMenuItemAutoFlag indicates when a submenu is checked for problems and updated. TMenuAutoFlag provides the same information for top-level menu items.


The following table lists the possible values:

Values Meaning

maAutomatic

The immediate submenu of the menu item or the top-level menu items of the menu are checked for problems and automatically corrected when the menu is displayed at run time.

maManual

The immediate submenu of the menu item or the top-level menu items of the menu are checked for problems and automatically corrected only when the application specifically calls a method of the menu item to do so.

maParent

Automatic checking and correction of the immediate submenu follows the same rule as the menu item's parent. This value is not applicable to menus, which have no parent menu item.


See Also