SelectBackColor Property, SftMask Object
Defines the control's background color for selected text.
Syntax
Get
| VB.NET | Clr = object.SelectBackColor As System.Drawing.Color |
| VB | Clr = object.SelectBackColor As OLE_COLOR |
| C#.NET | System.Drawing.Color Clr = object.SelectBackColor; |
| VC++ | OLE_COLOR Clr = object->SelectBackColor; OLE_COLOR Clr = object->GetSelectBackColor(); |
| C | HRESULT object->get_SelectBackColor(OLE_COLOR* Clr); |
Put
| VB.NET | object.SelectBackColor = Clr As System.Drawing.Color |
| VB | object.SelectBackColor = Clr As OLE_COLOR |
| C#.NET | System.Drawing.Color object.SelectBackColor = Clr; |
| VC++ | OLE_COLOR object->SelectBackColor = Clr; void object->PutSelectBackColor(OLE_COLOR Clr); |
| C | HRESULT object->put_SelectBackColor(OLE_COLOR Clr); |
object
A SftMask object.
Clr
Defines the control's background color for selected text.
Comments
The SelectBackColor property defines the control's background color for selected text.
If the control has the input focus, the SelectBackColorFocus property is used instead.
If the control is disabled (see Enabled property), the BackColor property is used instead.
See Also SftMask Object | Object Hierarchy