Returns the last character in a string marked with an ampersand (&).
function GetHotkey(const Text: string): string;
AnsiString GetHotkey(const AnsiString Text);
Menus
GetHotKey searches Text, starting at the end, for a character that is identified as an accelerator key by a preceding ampersand (&). If it locates a character marked with an ampersand, GetHotKey returns that character. Otherwise, it returns an empty string.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|