|
|
|
SftBoxDropDown.BackColor Property |
Defines the drop down button's background color.
Syntax
VB.NET |
|||
VB |
Clr = object.BackColor As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR Clr = object->BackColor;
|
||
C |
HRESULT object->get_BackColor(OLE_COLOR* Clr); |
||
Delphi |
|||
VB.NET |
|||
VB |
object.BackColor = Clr As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR object->BackColor = Clr;
|
||
C |
HRESULT object->put_BackColor(OLE_COLOR Clr); |
||
Delphi |
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).