SftBox/OCX 4.5

SftBoxItems.GrayedColor Property

Softel vdm, Inc.

Defines the default foreground color for all disabled items.

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  : CardinalLanguage-specific information;

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  : CardinalLanguage-specific information;

object

A SftBoxItems object.

Clr

Defines the default foreground color for all disabled items. For information about color properties, please visit the applicable section "Using SftBox/OCX with ...".

Comments

The GrayedColor property defines the default foreground color for all disabled items.

Items can be disabled using the Item.Enabled property.


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