Menus Support Routines

From RAD Studio
Jump to: navigation, search

Go Up to API Categories Index

This topic lists all menu support routines and variables.

Routine Description

Vcl.Menus.AnsiSameCaption

Indicates whether two strings are the same based on the current locale, ignoring case information and accelerator characters.

Vcl.Menus.GetHotkey

Returns the last character in a string marked with an ampersand (&).

Vcl.Menus.NewItem

Creates and initializes a menu item.

Vcl.Menus.NewLine

Creates a menu item for a separator.

Vcl.Menus.NewMenu

Creates and initializes a main menu.

Vcl.Menus.NewPopupMenu

Creates and initializes a pop-up menu.

Vcl.Menus.NewSubMenu

Creates and initializes a menu item that represents a submenu.

Vcl.Menus.ShortCut

Creates a menu shortcut for a specified key combination.

Vcl.Menus.ShortCutToKey

Returns the key code and shift state of a menu shortcut.

Vcl.Menus.ShortCutToText

Converts a menu shortcut into a string that describes the shortcut.

Vcl.Menus.StripHotkey

Removes the accelerator character marker from a string.

Vcl.Menus.TextToShortCut

Creates a menu shortcut from a text string.

Vcl.Menus.ValidMenuHotkeys

Determines what accelerator keys can be automatically assigned to a menu item caption.


See Also