HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

GridHorizontalColor Property, SftTreeItems Object

Defines the color used to draw horizontal grid lines.

Syntax

Get

VB.NETClr = object.GridHorizontalColor As UInteger
VBClr = object.GridHorizontalColor As OLE_COLOR
C#.NETuint Clr = object.GridHorizontalColor;
VC++OLE_COLOR Clr = object->GridHorizontalColor;
OLE_COLOR Clr = object->GetGridHorizontalColor();
CHRESULT object->get_GridHorizontalColor(OLE_COLOR* Clr);

Put

VB.NETobject.GridHorizontalColor = Clr As UInteger
VBobject.GridHorizontalColor = Clr As OLE_COLOR
C#.NETuint object.GridHorizontalColor = Clr;
VC++OLE_COLOR object->GridHorizontalColor = Clr;
void object->PutGridHorizontalColor(OLE_COLOR Clr);
CHRESULT object->put_GridHorizontalColor(OLE_COLOR Clr);

object

A SftTreeItems object.

Clr

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

Comments

The GridHorizontalColor property defines the color used to draw horizontal 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

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

See Also SftTreeItems Object | Object Hierarchy


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