Vcl.Menus
From RAD Studio API Documentation
Contents |
Classes
| EMenuError | EMenuError is the exception class for errors involving menu items. |
| TMainMenu | TMainMenu encapsulates a menu bar and its accompanying drop-down menus for a form. |
| TMenu | TMenu is the base type for menu components such as TMainMenu and TPopupMenu. |
| TMenuActionLink | TMenuActionLink links menu item clients to the corresponding menu action. |
| TMenuActionLinkClass | Represents the metaclass for the TMenuActionLink class. |
| TMenuItem | TMenuItem describes the properties of an item in a menu. |
| TMenuItemEnumerator | Enumerates through the menu items of a TMenuItem object. |
| TMenuItemStack | Represents a stack of menu items. |
| TPopupList | TPopupList manages the window that handles popup menu messages. |
| TPopupMenu | TPopupMenu encapsulates the properties, methods, and events of a pop-up menu. |
Routines
| AnsiSameCaption | Indicates whether two strings are the same based on the current locale, ignoring case information and accelerator characters. |
| DrawMenuItem | Draws a menu item. |
| GetHotkey | Returns the last character in a string marked with an ampersand (&). |
| IsAltGRPressed | Specifies whether AltGR is pressed. |
| NewItem | Creates and initializes a menu item. |
| NewLine | Creates a menu item for a separator. |
| NewMenu | Creates and initializes a main menu. |
| NewPopupMenu | Creates and initializes a popup menu. |
| NewSubMenu | Creates and initializes a menu item that represents a submenu. |
| SameCaption | Compares two texts. |
| ShortCut | Creates a menu shortcut for a specified key combination. |
| ShortCutFromMessage | Generates a shortcut ID from a received message. |
| ShortCutToKey | Returns the key code and shift state of a menu shortcut. |
| ShortCutToText | Converts a menu shortcut into a string that describes the shortcut. |
| StripHotkey | Removes the accelerator character marker from a string. |
| TextToShortCut | Creates a menu shortcut from a text string. |
Types
| PMenuItem | Defines a pointer to a TMenuItem value. |
| TAdvancedMenuDrawItemEvent | TAdvancedMenuDrawItemEvent is the type for event handlers that render menu items in owner-drawn menus. |
| TFindItemKind | TFindItemKind indicates the criterion to use when locating menu items. |
| TMenuAnimation | TMenuAnimation and TMenuAnimations indicate how a pop-up menu appears on screen. |
| TMenuAnimations | TMenuAnimation and TMenuAnimations indicate how a pop-up menu appears on screen. |
| TMenuAutoFlag | TMenuItemAutoFlag and TMenuAutoFlag indicate when menu items are automatically maintained. |
| TMenuBreak | TMenuBreak indicates the criterion to use when locating menu items. |
| TMenuChangeEvent | Defines the type for event handlers that occur when the menu changes. |
| TMenuDrawItemEvent | TMenuDrawItemEvent is the type for event handlers that render menu items in owner-drawn menus. |
| TMenuHandle | Defines the handle to a TMenu object. |
| TMenuItemAutoFlag | TMenuItemAutoFlag and TMenuAutoFlag indicate when menu items are automatically maintained. |
| TMenuMeasureItemEvent | TMenuMeasureItemEvent is the type for event handlers that render menu items in owner-Measuren menus. |
| TPopupAlignment | TPopupAlignment represents the position of a pop-up menu relative to the mouse. |
| TTrackButton | TTrackButton specifies which mouse button activates a tool button menu. |
Variables
| PopupList | Provides centralized handling of Windows messages directed at pop-up menus. |
| ShortCutItems | Contains the items that have a shortcut. |
| ValidMenuHotkeys | Determines what accelerator keys can be automatically assigned to a menu item caption. |
Constants
| cDialogSuffix | cDialogSuffix: string = ...; |
| cHotkeyPrefix | cHotkeyPrefix: Char = $26; |
| cLineCaption | cLineCaption: Char = $2D; |