SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines how files/folders can be renamed.
Get
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; enum SftDirectoryRenameStyleConstants Style = object->GetRenameStyle(); |
C | HRESULT object->get_RenameStyle(enum SftDirectoryRenameStyleConstants* Style); |
Put
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; void object->PutRenameStyle(enum SftDirectoryRenameStyleConstants Style); |
C | HRESULT object->put_RenameStyle(enum SftDirectoryRenameStyleConstants Style); |
object
Defines how files/folders can be renamed.
Style | Value | Description |
---|---|---|
renameSftDirectoryNone | 0 | None - Files/folders cannot be renamed by the end-user. |
renameSftDirectoryMenu | 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. |
renameSftDirectoryEdit | 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. |
renameSftDirectoryAll | 3 | All - Both menu and edit methods are available to the end-user to rename files/folders. |
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.
See Also SftDirectory Object | Object Hierarchy