O'Brien-Strain, Eamonn wrote:
> OK, I figured it out.
>
> The setTextColor has to be called AFTER the text has been inserted into the 
> text box.
>
> So this original code of mine did not work:
>
>   t2 = createText(100,200,100,100)
>   setTextColor( "mycolor", t2 )
>   insertText( "text color set", -1, t2 )
>
> But this did work:
>
>   t2 = createText(100,200,100,100)
>   insertText( "text color set", -1, t2 )
>   setTextColor( "mycolor", t2 )
>   
good work, Eamonn

Greg


Reply via email to