Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxDropDown.BackColor Property

Defines the drop down button's background color.

Syntax

Get

VB.NETClr = object.BackColor As UInteger
VBClr = object.BackColor As OLE_COLOR
C#.NETuint Clr = object.BackColor;
VC++OLE_COLOR Clr = object->BackColor;
OLE_COLOR Clr = object->GetBackColor();
CHRESULT object->get_BackColor(OLE_COLOR* Clr);

Put

VB.NETobject.BackColor = Clr As UInteger
VBobject.BackColor = Clr As OLE_COLOR
C#.NETuint object.BackColor = Clr;
VC++OLE_COLOR object->BackColor = Clr;
void object->PutBackColor(OLE_COLOR Clr);
CHRESULT object->put_BackColor(OLE_COLOR Clr);

object

A SftBoxDropDown object.

Clr

Defines the drop down button's background color. For information about color properties, please visit the applicable section "Using SftBox/OCX with ...". Set to -1 to use the default color suitable for the current button style (DropDown.ButtonStyle) and Windows themes settings.

Comments

The BackColor property defines the drop down button's background color.

This property only takes effect if DropDown.ButtonStyle is set to constSftBoxDDStyleClassic or a drop down button image has been defined (DropDown.Image property) with a DropDown.ButtonStyle value other than constSftBoxDDStyleHover or constSftBoxDDStyleHoverNoThemes.

On Windows Vista and up, it is used to define the background color of the semi-transparent drop down button when Windows themes are used (DropDown.ButtonStyle is constSftBoxDDStyleDefault).

See Also SftBoxDropDown Object | Object Hierarchy


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