[Gambas-user] ¿Why I can't modify a Table in TextEdit Example?

Benoît Minisini gambas at ...1...
Thu Aug 20 11:33:52 CEST 2009


> shordi wrote:
> > I'm making tries with the TextEdit example of Gambas2. (I need a simple
> > web editor integrated with mi proyect). And I have tried this:
> >
> > Make a new toolbutton with this code
> >
> >  DIM tabla AS String
> >   tabla = "<table border=1 width='100%'><tr><td width='100%'>hola mundo
> > </td><td width='100%'>como estas</td></tr><tr><td width='100%'>yo muy
> > bien</td><td width='100%'>gracias</td></tr></table>"
> >   TextEdit1.text &= tabla
> >   TextEdit1.Refresh
> >
> > The table appears on screen integrated in the example text... but I can't
> > modify in Main form the content of the table.
> > Why?
> > Confused...
>
> Nobody knows? I need some clues, please...

Maybe a limitation of the underlying Qt control? TextEdit was never intended 
to be a Wysisyg HTLM editor anyway...

Regards,

-- 
Benoît




More information about the User mailing list