SftBox/OCX 4.5

SftBoxDropDown.GrayedColor Property

Softel vdm, Inc.

Defines the drop down button's foreground color if 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  : 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 SftBoxDropDown object.

Clr

Defines the drop down button's foreground color if disabled. For information about color properties, please visit the applicable section "Using SftBox/OCX with ...".

Comments

The GrayedColor property defines the drop down button's foreground color if disabled. The drop down button is automatically grayed when the combo box is empty.

This property only takes effect if DropDown.ButtonStyle is set to constSftBoxDDStyleClassic.


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