ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.Types.TShellActionHelper.ToString

Returns a label for a TShellAction enum.

Syntax
Pascal
function ToString(pWithAccelerators: Boolean = True): String;
Parameters 
Description 
pWithAccelerators: Boolean = True 
If True (teh default value) the returns string contains accelerator keys and are so suitable for button and menu item caption. Pass False to get a plain string. 

String: a label for a TShellAction enum

Exceptions 
Description 
 
EInvalidOperation: In case of an unknown TShellAction or an action for which no possible resutl can be delivered.