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
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
SftTree/NET 2.0 - Tree Control
Defines the method used to paint grid lines.
Get
| VB.NET | Style = object.GridStyle As SftTreeGridStyleConstants |
| VB | Style = object.GridStyle As SftTreeGridStyleConstants |
| C#.NET | SftTreeGridStyleConstants Style = object.GridStyle; |
| VC++ | enum SftTreeGridStyleConstants Style = object->GridStyle; enum SftTreeGridStyleConstants Style = object->GetGridStyle(); |
| C | HRESULT object->get_GridStyle(enum SftTreeGridStyleConstants* Style); |
Put
| VB.NET | object.GridStyle = Style As SftTreeGridStyleConstants |
| VB | object.GridStyle = Style As SftTreeGridStyleConstants |
| C#.NET | SftTreeGridStyleConstants object.GridStyle = Style; |
| VC++ | enum SftTreeGridStyleConstants object->GridStyle = Style; void object->PutGridStyle(enum SftTreeGridStyleConstants Style); |
| C | HRESULT object->put_GridStyle(enum SftTreeGridStyleConstants Style); |
object
A SftTreeItems object.
Defines the method used to paint grid lines.
| Style | Value | Description |
|---|---|---|
| gridSftTreeNone | 0 | No grid lines are drawn. |
| gridSftTreeVert | 1 | Vertical grid lines are drawn between columns. |
| gridSftTreeHorz | 2 | Horizontal grid lines are drawn between items. |
| gridSftTreeBoth | 3 | Vertical and horizontal grid lines are drawn. |
| gridSftTreeVertDot | 4 | Vertical dotted grid lines are drawn between columns. |
| gridSftTreeHorzDot | 5 | Horizontal dotted grid lines are drawn between items. |
| gridSftTreeBothDot | 6 | Vertical and horizontal dotted grid lines are drawn. |
| gridSftTreeHorzExtendRight | 7 | Horizontal grid lines are drawn and extend to the right edge of the control (beyond the end of the last column). |
| gridSftTreeBothExtendRight | 8 | Vertical and horizontal grid lines are drawn and extend to the right edge of the control (beyond the end of the last column). |
| gridSftTreeHorzDotExtendRight | 9 | Horizontal dotted grid lines are drawn and extend to the right edge of the control (beyond the end of the last column). |
| gridSftTreeBothDotExtendRight | 10 | Vertical and horizontal dotted grid lines are drawn and extend to the right edge of the control (beyond the end of the last column). |
The GridStyle property defines the method used to paint grid lines.
Horizontal grid lines are not drawn if the Items.Cell3D property is set to True.
Vertical grid lines are not drawn if all column headers have no header text Header.Text (except for the first column) and all cells are marked for cell merging, in which case all cells are handled as one (visually) contiguous cell, even if each cell has individual cell text Cell.Text.
The grid line colors can be modified using the Items.GridHorizontalColor and Items.GridVerticalColor properties.
The size of Tool Tips when grid lines are used can be defined using the Items.ToolTipsUseEntireCell property.
DropHighlightColor= -2147483635
DropHighlightStyle= 1
EditNoFocusStyle= 2
FlybyHighlight = 1
ForeColor = -2147483640
ForeColorOdd = -2147483640
GrayedColor = -2147483631
GridHorizontalColor= -2147483633
GridStyle = 6
GridVerticalColor= -2147483633
HilightColor = -2147483628
HorizontalExtentPix= 0
HorizontalExtent2Pix= 0
HorizontalOffsetPix= 0
HorizontalOffset2Pix= 0
Indentation = -1See Also SftTreeItems Object | Object Hierarchy
