Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxItems.GrayedColor Property

Defines the default foreground color for all disabled items.

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 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.

See Also SftBoxItems Object | Object Hierarchy


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