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

Benoît Minisini gambas at ...1...
Sun Jan 31 02:45:10 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 ?
> 

This is managed by the underlying toolkit. I don't see it.

-- 
Benoît Minisini




More information about the User mailing list