yes it's a good question .. and i've not the answer... 2011/11/6 Ron <r...@cyberjunky.nl>: > I just want it to display the lines without blank the lines in between, see > screenshot. > Your code doesn't do it either... why?? > A TextArea does it flawless with the same code. > > If I leave out the \n in my code, it prints all lines together, if I only > add a \r same, </br> again... > > Regards, > Ron_2nd. > > 2011/11/6 Fabien Bodard <gambas...@gmail.com> > >> I not really understand what you want ... :/ >> ' display text in mainlog textarea >> '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> PUBLIC SUB WriteLog(sText AS String, OPTIONAL bStrip AS Boolean) >> >> IF NOT bStrip THEN sText &= "</br>" >> >> sText = Format$(Now, "yyyy/mm/dd hh:nn:ss") & " " & sText >> FMain.txtMainLog.EnsureVisible >> FMain.txtMainLog.Text &= sText >> PRINT sText; >> >> END >> >> 2011/11/6 Ron <r...@cyberjunky.nl>: >> > Hi all, >> > >> > In my project I replaced the txtArea for readlonly TextEdit objects so I >> > can color the text I want to emphasize, this works good. >> > >> > But how can I just do a single line wrap, until now I only got a blank >> line >> > in between lines, or all lines concatenated together ;-( >> > >> > It must be something simple, see attached Gambas2 object to see what I >> mean. >> > >> > Thanks for any pointers in the right direction... >> > >> > Regards, >> > Ron_2nd, >> > >> > >> ------------------------------------------------------------------------------ >> > 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 >> > >> > >> >> >> >> -- >> Fabien Bodard >> >> >> ------------------------------------------------------------------------------ >> 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 > >
-- Fabien Bodard ------------------------------------------------------------------------------ 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