= setCtlFontColor =
== Syntax == setCtlFontColor(int index, int color) == Arguments == :index ::The index of the control whose font color you wish to change. :color ::The color to change the font text to. == Description == This function changes the text color of the user control with the given index. The color value can be an RGB triplet (as in RGB(r,g,b)) or a COLOR function (as in COLOR(DarkGreenCopper)). The following user controls support text coloring: standard scrollbars, checkboxes, radio buttons, group boxes and static text. == Example == <code> //set text color to yellow setCtlFontColor( 0, RGB(255,255,0) ); //set text color to "Money Green" setCtlFontColor( 0, COLOR(MoneyGreen) ); //set text color to default setCtlFontColor( 0, -1 ); </code> == See Also == |