Vcl.Menus.ValidMenuHotkeys

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

ValidMenuHotkeys: string = '1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ'; { do not localize }

C++

extern DELPHI_PACKAGE System::UnicodeString ValidMenuHotkeys;

Properties

Type Visibility Source Unit Parent
variable public
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus Vcl.Menus

Description

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

ValidMenuHotkeys is used to limit the characters that a menu considers when automatically assigning accelerator keys to menu items. This variable is used at run time when the AutoHotkeys property is true or when an application calls RethinkHotkeys.

By default, ValidMenuHotkeys limits accelerator keys to alphanumeric values (digits and letters). Change this variable to redefine the keys that can be used when assigning accelerator keys automatically.

See Also