Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxDropDown.GrayedColor Property

Defines the drop down button's foreground color if disabled.

Syntax

Get

VB.NETClr = object.GrayedColor As UInteger
VBClr = object.GrayedColor As OLE_COLOR
C#.NETuint Clr = object.GrayedColor;
VC++OLE_COLOR Clr = object->GrayedColor;
OLE_COLOR Clr = object->GetGrayedColor();
CHRESULT object->get_GrayedColor(OLE_COLOR* Clr);

Put

VB.NETobject.GrayedColor = Clr As UInteger
VBobject.GrayedColor = Clr As OLE_COLOR
C#.NETuint object.GrayedColor = Clr;
VC++OLE_COLOR object->GrayedColor = Clr;
void object->PutGrayedColor(OLE_COLOR Clr);
CHRESULT object->put_GrayedColor(OLE_COLOR Clr);

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.

See Also SftBoxDropDown Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.