MdiElement.ForeColor



ForeColor() As OLE_COLOR
ED
avaliable
RT
read only

Remarks

Returns/sets the foreground colour of the element.

In VB(A) ColorConstants can be used to set the foreground 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

MdiElement