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 the appearance of the currently selected item.
Get
VB.NET | Style = object.SelectionStyle As SftBoxSelectionStyleConstants |
VB | Style = object.SelectionStyle As SftBoxSelectionStyleConstants |
C#.NET | SftBoxSelectionStyleConstants Style = object.SelectionStyle; |
VC++ | enum SftBoxSelectionStyleConstants Style = object->SelectionStyle; enum SftBoxSelectionStyleConstants Style = object->GetSelectionStyle(); |
C | HRESULT object->get_SelectionStyle(enum SftBoxSelectionStyleConstants* Style); |
Put
VB.NET | object.SelectionStyle = Style As SftBoxSelectionStyleConstants |
VB | object.SelectionStyle = Style As SftBoxSelectionStyleConstants |
C#.NET | SftBoxSelectionStyleConstants object.SelectionStyle = Style; |
VC++ | enum SftBoxSelectionStyleConstants object->SelectionStyle = Style; void object->PutSelectionStyle(enum SftBoxSelectionStyleConstants Style); |
C | HRESULT object->put_SelectionStyle(enum SftBoxSelectionStyleConstants Style); |
object
Style
Defines the appearance of the currently selected item.
Style | Value | Description |
---|---|---|
selectSftBoxAll | 0 | Highlights the entire item. |
selectSftBoxCells | 1 | Highlights cells only (excludes the label picture, tree lines, item picture). |
selectSftBoxCell1 | 2 | Highlights the text in the first displayed cell only. |
selectSftBoxCellFirst | 3 | Highlights the entire first first displayed cell. |
The SelectionStyle property defines the appearance of the currently selected item.
When using the 3D display mode (enabled using the Items.Appearance property), selectSftBoxAll is equivalent to selectSftBoxCells.
The Items.NoFocusStyle property is used to change the appearance of selected items in a control that does not have the input focus.
The SelectionStyle and Items.NoFocusStyle properties work in conjunction with the Items.OutlineStyle property to determine the exact appearance of selected items. The highlighted portion of an item is rendered using the outline style defined by the Items.OutlineStyle property.
See Also SftBoxItems Object | Object Hierarchy