Element.BackColor



BackColor() As OLE_COLOR
ED
avaliable
RT
avaliable

Remarks

Returns/sets the background colour of the dynamic element.

Hint: After changing the background colour the method "Update" should be executed to redraw the element.

In VB(A) ColorConstants can be used to set the background colour.

The constants are listed below:

Constants Code Code Hex
VbBlack
0
&H0
VbBlue
16711680
&HFF0000
VbCyan
16776960
&HFFFF00
VbGreen
65280
&HFF00
VbMagenta
16711935
&HFF00FF
VbRed
255
&HFF
VbWhite
16777215
&HFFFFFF
VbYellow
65535
&HFFFF

See Also

Element