|
|
|
SftDirectory.RenameStyle Property |
Defines how files/folders can be renamed.
Syntax
VB.NET |
Style = object.RenameStyle As SftDirectoryRenameStyleConstants |
||
VB |
Style = object.RenameStyle As SftDirectoryRenameStyleConstants |
||
C#.NET |
SftDirectoryRenameStyleConstants Style = object.RenameStyle; |
||
VC++ |
enum SftDirectoryRenameStyleConstants Style = object->RenameStyle;
|
||
C |
HRESULT object->get_RenameStyle(enum SftDirectoryRenameStyleConstants* Style); |
||
Delphi |
Style := object.RenameStyle : TOleEnum; |
||
VB.NET |
object.RenameStyle = Style As SftDirectoryRenameStyleConstants |
||
VB |
object.RenameStyle = Style As SftDirectoryRenameStyleConstants |
||
C#.NET |
SftDirectoryRenameStyleConstants object.RenameStyle = Style; |
||
VC++ |
enum SftDirectoryRenameStyleConstants object->RenameStyle = Style;
|
||
C |
HRESULT object->put_RenameStyle(enum SftDirectoryRenameStyleConstants Style); |
||
Delphi |
object.RenameStyle := Style : TOleEnum; |
object
A SftDirectory object.
Defines how files/folders can be renamed.
Style |
Value |
Description |
0 |
None - Files/folders cannot be renamed by the end-user. |
|
1 |
Menu Only - Files/folders can be renamed by the end-user by accessing a context menu's Rename command. The ShowContextMenu property must be used to enable context menus or the ContextMenu method can be used to display the context menu. |
|
2 |
Edit Only - Files/folders can be renamed by the end-user by clicking on the file/folder name, which displays an edit control allowing modification of the name. |
|
3 |
All - Both menu and edit methods are available to the end-user to rename files/folders. |
Comments
The RenameStyle property defines how files/folders can be renamed.
The RenameStyle affects the end-users ability to rename files/folders using the context menu or by clicking on a file/folder name. An application can always rename files/folders using the Folder.Do command or the Folder.Rename command.
Renaming files/folders is not possible with combo box style controls (see ControlStyle property) and the RenameStyle property has no effect.