contents   index   previous   next



UI_ForeColor Property

 

Returns/sets the forecolor (OLE) of controls.

 

Syntax

 

UIToolX.UI_ForeColor (ByVal Data As OLE_COLOR)

 

Example

 

UIToolX.UI_ForeColor = &H80000008

 

 

 

The above example will set the fore color to the Window Text. You can also specify arbitrary colors such as &H00AE9679 (medium blue).

 

 

 

Usage Notes

 

As with all of the UI Colors setting they are global. If you use the AddControl method and specify a color, it will override this value. If you use the AddControl method and you leave this color parameter blank, the color specified by this property will be used.