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 use of grid lines.
Get
VB.NET | Style = object.GridStyle As SftBoxGridStyleConstants |
VB | Style = object.GridStyle As SftBoxGridStyleConstants |
C#.NET | SftBoxGridStyleConstants Style = object.GridStyle; |
VC++ | enum SftBoxGridStyleConstants Style = object->GridStyle; enum SftBoxGridStyleConstants Style = object->GetGridStyle(); |
C | HRESULT object->get_GridStyle(enum SftBoxGridStyleConstants* Style); |
Put
VB.NET | object.GridStyle = Style As SftBoxGridStyleConstants |
VB | object.GridStyle = Style As SftBoxGridStyleConstants |
C#.NET | SftBoxGridStyleConstants object.GridStyle = Style; |
VC++ | enum SftBoxGridStyleConstants object->GridStyle = Style;void object->PutGridStyle(enum SftBoxGridStyleConstants Style); |
C | HRESULT object->put_GridStyle(enum SftBoxGridStyleConstants Style); |
object
Style
Defines the use of grid lines.
Style | Value | Description |
---|---|---|
gridSftBoxNone | 0 | No grid lines are drawn. |
gridSftBoxVertical | 1 | Solid vertical grid lines are drawn between columns. |
gridSftBoxHorizontal | 2 | Solid horizontal grid lines are drawn between items. |
gridSftBoxBoth | 3 | Solid vertical and horizontal grid lines are drawn. |
gridSftBoxVerticalDotted | 4 | Dotted vertical grid lines are drawn between columns. |
gridSftBoxHorizontalDotted | 5 | Dotted horizontal grid lines are drawn between items. |
gridSftBoxBothDotted | 6 | Dotted vertical and horizontal grid lines are drawn. |
gridSftBoxHorzExtendRight | 7 | Solid horizontal grid lines are drawn between items extending beyond the last column to the right edge of the control. |
gridSftBoxBothExtendRight | 8 | Solid vertical and horizontal grid lines are drawn extending beyond the last column to the right edge of the control. |
gridSftBoxHorzDotExtendRight | 9 | Dotted horizontal grid lines are drawn between items extending beyond the last column to the right edge of the control. |
gridSftBoxBothDotExtendRight | 10 | Dotted vertical and horizontal grid lines are drawn extending beyond the last column to the right edge of the control. |
The GridStyle property defines the use of grid lines.
The color used for the grid lines is defined using the Items.GridHorizontalColor and Items.GridVerticalColor properties.
Horizontal grid lines are not drawn if items are drawn using a 3D display method (see Items.Appearance).
Horizontal grid lines are only shown in the drop down portion of the combo box.
See Also SftBoxItems Object | Object Hierarchy