Vcl.Menus.StripHotkey
Delphi
function StripHotkey(const Text: string): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall StripHotkey(const System::UnicodeString Text);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | Vcl.Menus |
Description
Removes the accelerator character marker from a string.
StripHotkey removes the & escape char that marks the accelerator characters in Text. When the current locale is Asian, this function also looks for and removes any parentheses around the accelerator, which are common in Asian locales.
See Also