BackColor property
Returns or sets the background color for an object. Read/write. OLE_COLOR.
OLE_COLOR is a type definition that resolves to a Long.
Syntax
object
.BackColor
[ = value
]where
object
– is the name of a graphic element or an expression that evaluates to a graphic element.value
– is an RGB color value that specifies the background color for the object.Remarks
- If an object uses theBackStyleproperty and it is transparent, theBackColorproperty is ignored.
- For the Line object, theBackColoris used to fill the space in broken lines.
- For the Display object,BackColoris read-only.
- For the Button object,BackColorsets or returns the background color for only the Up state.
Provide Feedback