RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Menus.ShortCutToText Function

Converts a menu shortcut into a string that describes the shortcut.

Pascal
function ShortCutToText(ShortCut: TShortCut): string;
C++
AnsiString ShortCutToText(TShortCut ShortCut);

Menus

Call ShortCutToText to obtain a text description of the shortcut associated with a menu item. Use this function when the application needs to display a description of a shortcut to the user. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!