Show: Delphi C++
Display Preferences

Vcl.Menus.StripHotkey

From XE2 API Documentation
Jump to: navigation, search

Delphi

function StripHotkey(const Text: string): string;

C++

extern PACKAGE System::UnicodeString __fastcall StripHotkey(const System::UnicodeString Text);

Contents

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


Code Examples

Personal tools
Previous Versions
Translations