RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Menus.TMenuAutoFlag Type

TMenuItemAutoFlag and TMenuAutoFlag Indicate when menu items are automatically maintained.

Pascal
TMenuAutoFlag = maAutomatic..maManual;
C++
maAutomatic..maManual TMenuAutoFlag;

Menus

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

 

AutoHotkeys 

AutoLineReduction

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!