BackColorFocus Property, SftButton Object
Defines the control's background color when it has the input focus.
Syntax
Get
| VB.NET | Clr = object.BackColorFocus As System.Drawing.Color |
| VB | Clr = object.BackColorFocus As OLE_COLOR |
| C#.NET | System.Drawing.Color Clr = object.BackColorFocus; |
| VC++ | OLE_COLOR Clr = object->BackColorFocus; OLE_COLOR Clr = object->GetBackColorFocus(); |
| C | HRESULT object->get_BackColorFocus(OLE_COLOR* Clr); |
Put
| VB.NET | object.BackColorFocus = Clr As System.Drawing.Color |
| VB | object.BackColorFocus = Clr As OLE_COLOR |
| C#.NET | System.Drawing.Color object.BackColorFocus = Clr; |
| VC++ | OLE_COLOR object->BackColorFocus = Clr; void object->PutBackColorFocus(OLE_COLOR Clr); |
| C | HRESULT object->put_BackColorFocus(OLE_COLOR Clr); |
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