Method XbpActiveXControl():setColorFG() Foundation
Set foreground color.
:setColorFG( [<nColor>] ) --> nOldColor
This method returns the previous foreground color (current before the method is called). If no new color is specified, the method simply returns the current color.
The method :setColorFG() sets the foreground color or returns the current foreground color set for an ActiveX Control. The default color is specified by the control's parent object.
Using :setColorFG() to set a new foreground color for an ActiveX control implicitly overrides the corresponding setting of the control container's ambient property (DISPID_AMBIENT_FORECOLOR). See :inheritPresParams()for further information.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.