HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

GridVerticalColor Property, SftTreeItems Object

Defines the color used to draw vertical grid lines.

Syntax

Get

VB.NETClr = object.GridVerticalColor As UInteger
VBClr = object.GridVerticalColor As OLE_COLOR
C#.NETuint Clr = object.GridVerticalColor;
VC++OLE_COLOR Clr = object->GridVerticalColor;
OLE_COLOR Clr = object->GetGridVerticalColor();
CHRESULT object->get_GridVerticalColor(OLE_COLOR* Clr);

Put

VB.NETobject.GridVerticalColor = Clr As UInteger
VBobject.GridVerticalColor = Clr As OLE_COLOR
C#.NETuint object.GridVerticalColor = Clr;
VC++OLE_COLOR object->GridVerticalColor = Clr;
void object->PutGridVerticalColor(OLE_COLOR Clr);
CHRESULT object->put_GridVerticalColor(OLE_COLOR Clr);

object

A SftTreeItems object.

Clr

Defines the color used to draw vertical grid lines. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The GridVerticalColor property defines the color used to draw vertical grid lines.

Based on the Items.GridStyle property, grid lines are displayed using the specified color Clr. If Clr is set to -1, a suitable default color is used based on the operating system and current Windows theme used.

Examples

VB6

         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     =   -1
         ItemImageAlign  =   1

See Also SftTreeItems Object | Object Hierarchy


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.