Menus.StripHotkey
From RAD Studio VCL Reference
Contents |
Delphi Information
From Menus.pas
function StripHotkey(const Text: string): string;
Unit: Menus
Type: function
Visibility: public
C++ Information
From Menus.hpp
System::UnicodeString __fastcall StripHotkey(System::UnicodeString Text);
Unit: Menus
Type: function
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
Code Samples