ShellBrowser Delphi Components Documentation
|
This type encapsulates a shell context menu command.
TShellCommand = record Destination: string; OperationOptions: TOperationOptions; end;
It is compatible with command verbs which are strings but also supports a set of well defined command defined through the TShellAction enum. Several implicit operators take care of necessary conversions.
To e.g. check a TShellCommand that is passed via some event, you can simply write
if (command = TShellAction.saOpen) then ...
or
if (command = 'open') then ...
|
Name |
Description |
|
Creates and initializes a TShellCommand. |
|
Name |
Description |
|
This member can be used for command that need an additional string parameter, like rename, create folder or move. | |
|
Defines which kind of user interaction is allowed. |
|
Name |
Description |
|
Compares the TShellAction to a command supplied as string. | |
|
Compares the TShellAction to a command supplied as string. | |
|
Returns a shell command for a TShellAction enum. | |
|
Returns a label for a TShellAction enum. |
|
Name |
Description |
|
Allows to compare a TShellCommand with a TShellAction. | |
|
Allows to compare two TShellCommands. | |
|
Allows to compare a TShellCommand with a command verb as string. | |
|
Converts a TShellAction into a TShellCommand. | |
|
Allows to check if a TShellCommand is in a set of TShellActions. | |
|
Allows to compare a TShellCommand with a TShellAction. |