BackColorFocus Property, SftButton Object
Defines the control's background color when it has the input focus.
Syntax
Get
| C# | System.Drawing.Color Clr = object.BackColorFocus; |
| VB.NET | Clr = object.BackColorFocus As System.Drawing.Color |
| C++ | OLE_COLOR Clr = object->BackColorFocus; OLE_COLOR Clr = object->GetBackColorFocus(); |
| C | HRESULT object->get_BackColorFocus(OLE_COLOR* Clr); |
| VB | Clr = object.BackColorFocus As OLE_COLOR |
Put
| C# | System.Drawing.Color object.BackColorFocus = Clr; |
| VB.NET | object.BackColorFocus = Clr As System.Drawing.Color |
| C++ | OLE_COLOR object->BackColorFocus = Clr; void object->PutBackColorFocus(OLE_COLOR Clr); |
| C | HRESULT object->put_BackColorFocus(OLE_COLOR Clr); |
| VB | object.BackColorFocus = Clr As OLE_COLOR |
object
A SftButton object.
Clr
Defines the control's background color when it has the input focus. For information about color properties, please visit the applicable section "Using SftButton/OCX with ...".
Comments
The BackColorFocus property defines the control's background color when it has the input focus.
This property has no effect if Windows themes are used.
If both BackColorFocusStart and BackColorFocusEnd define valid starting and ending colors, these take precedence and the BackColorFocus property has no effect.
See Also SftButton Object | Object Hierarchy