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 display style of selected items when the tree control has the input focus.
Deprecated - Provided for compatibility with earlier versions only - Use Items.SelectStyle instead
Get
VB.NET | Style = object.SelectStyle As SftTreeSelectStyleConstants |
VB | Style = object.SelectStyle As SftTreeSelectStyleConstants |
C#.NET | SftTreeSelectStyleConstants Style = object.SelectStyle; |
VC++ | enum SftTreeSelectStyleConstants Style = object->SelectStyle; enum SftTreeSelectStyleConstants Style = object->GetSelectStyle(); |
C | HRESULT object->get_SelectStyle(enum SftTreeSelectStyleConstants* Style); |
Put
VB.NET | object.SelectStyle = Style As SftTreeSelectStyleConstants |
VB | object.SelectStyle = Style As SftTreeSelectStyleConstants |
C#.NET | SftTreeSelectStyleConstants object.SelectStyle = Style; |
VC++ | enum SftTreeSelectStyleConstants object->SelectStyle = Style; void object->PutSelectStyle(enum SftTreeSelectStyleConstants Style); |
C | HRESULT object->put_SelectStyle(enum SftTreeSelectStyleConstants Style); |
object
Style
Defines the display style of selected items when the tree control has the input focus.
Style | Value | Description |
---|---|---|
selectSftTreeAll | 0 | The entire item is highlighted. A selected item is drawn using the colors specified using the color properties Items.SelectForeColor, Items.SelectBackColor, Column.SelectForeColor, Column.SelectBackColor, Cell.SelectForeColor and Cell.SelectBackColor. |
selectSftTreeText | 1 | Only cells are highlighted. A selected item is drawn using the colors specified using the color properties Items.ForeColor, Items.BackColor, Column.SelectForeColor, Column.SelectBackColor, Cell.SelectForeColor and Cell.SelectBackColor. |
selectSftTreeCell1 | 2 | Only the first displayed cell is highlighted. The first displayed cell is drawn using the colors specified using the color properties Items.SelectForeColor, Items.SelectBackColor, Column.SelectForeColor, Column.SelectBackColor, Cell.SelectForeColor and Cell.SelectBackColor. The text's background color extends a few pixels around the text, not necessarily to the top and bottom of the cell. |
selectSftTreeCellCurrent | 3 | Highlights the entire current cell only. The current cell is always the cell in the first displayed column of the selected item(s). The current cell is drawn using the colors specified using the color properties Items.SelectForeColor, Items.SelectBackColor, Column.SelectForeColor, Column.SelectBackColor, Cell.SelectForeColor and Cell.SelectBackColor. |
selectSftTreeCell1Full | 4 | Only the first displayed cell is highlighted. The first displayed cell is drawn using the colors specified using the color properties Items.SelectForeColor, Items.SelectBackColor, Column.SelectForeColor, Column.SelectBackColor, Cell.SelectForeColor and Cell.SelectBackColor. The text's background color extends to the top and bottom of the cell. |
Deprecated - Provided for compatibility with earlier versions only - Use Items.SelectStyle instead
The SelectStyle property defines the display style of selected items when the tree control has the input focus.
The Items.NoFocusStyle property is used to change the appearance of selected items in a tree control that does not have the input focus.
The Items.SelectionArea property defines the area where selection changes occur.
See Also SftTree Object | Object Hierarchy