[Gambas-user] Draw.Text problem with control chars

Charlie Reinl Karl.Reinl at ...2345...
Sat Jan 30 21:43:59 CET 2010


Am Samstag, den 30.01.2010, 00:35 +0100 schrieb Benoît Minisini:
> > Salut,
> > 
> > I' using gambas2 2.19.
> > For printing text, I use Draw.Text that works well.
> > But when I print Text out of a TextArea, where are sometimes control
> > chars ("\n" and "\t") in the text, I  found a problem.
> > 
> > The LF (\n) is handled, but not the Tab (\t) it is show as a rectangle.
> > 
> > Do I miss something ? Nothing found about!
> > 
> > Does anybody have a hint/workaround ?
> > 
> 
> Tabs are not handled automatically, you must handle them yourself.
> 
> Regards,
> 
Salut Benoît,

where does gambas get the "tab width" in controls like  TextArea,
is there a set parameter somewhere ?


-- 
Cordialement
Charlie





More information about the User mailing list