SftTree/OCX 7.0

SftTreeItems.GrayedColor Property

Softel vdm, Inc.

Defines the text color used to draw items that are disabled.

Syntax       

Get

VB.NET

Clr = object.GrayedColor  As UIntegerLanguage-specific information

VB

Clr = object.GrayedColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.GrayedColor;

VC++

OLE_COLOR Clr = object->GrayedColor;
OLE_COLOR Clr = object->GetGrayedColor();

C

HRESULT object->get_GrayedColor(OLE_COLOR* Clr);

Delphi

Clr := object.GrayedColor  : Cardinal;

Put

VB.NET

object.GrayedColor = Clr  As UIntegerLanguage-specific information

VB

object.GrayedColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.GrayedColor = Clr;

VC++

OLE_COLOR object->GrayedColor = Clr;
void object->PutGrayedColor(OLE_COLOR Clr);

C

HRESULT object->put_GrayedColor(OLE_COLOR Clr);

Delphi

object.GrayedColor := Clr  : Cardinal;

object

A SftTreeItems object.

Clr

Defines the text color used to draw items that are disabled.  For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The GrayedColor property defines the text color used to draw items that are disabled.

Columns can override the foreground color using the Column.ForeColor property.

Individual cells can override the foreground color for disabled items using the Cell.ForeColor property.

See Also  SftTreeItems Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com