Well, I don't know if this works but since you're html tags the tag should
read <font color=#123456>some text</font>

On Tue, Nov 8, 2011 at 8:05 AM, Ron <r...@cyberjunky.nl> wrote:

> All works, expect one thing.
>
> When I was using the .Insert() I could set forecolor before and after the
> insert to color only this line, like so:
>
> FLogFiles.txtMainLog.ForeColor = Color.Gray
> FLogFiles.txtMainLog.Insert(sText)
> FLogFiles.txtMainLog.ForeColor = Color.Black
>
> If I now issue a FLogFiles.txtMainLog.ForeColor = Color.Gray, all the text
> in the TextArea turns black.
>
> So the main reason to switch to TextArea is the only part still not working
> :LOL
> Is there another way to color a line or part of a text?
>
> I hoped "<font color=12341'>" sText & "</font>" worked since <b></b> works,
> but alas...
>
> Regards,
> Ron_2nd.
>
> 2011/11/8 Fabien Bodard <gambas...@gmail.com>
>
> > yes insert is to add normal text without interpretation
> >
> >
> >
> ------------------------------------------------------------------------------
> > RSA(R) Conference 2012
> > Save $700 by Nov 18
> > Register now
> > http://p.sf.net/sfu/rsa-sfdev2dev1
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
If you ask me if it can be done. The answer is YES, it can always be done.
The correct questions however are... What will it cost, and how long will
it take?
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to