1. MleText line per line...
- Posted by Rubens <rml at rubis.trix.net> Jun 28, 2005
- 509 views
Hi, It=B4s possible to add to a MleText line per line=20 of a text, instead of all the whole text as a unique sequence ? With the code below I get only the last list value. constant pop1_mle=createEx(MleText,"lista",pop1,10,10,920,540,0,0) setScrollRange( pbar, 1,length(list)) for i=1 to length(list) do setScrollPos( pbar,i ) setText(pop1_mle,list[i]) end for Thanks Rubens
2. Re: MleText line per line...
- Posted by Dave Probert <zingo at purpletiger.com> Jun 28, 2005
- 495 views
- Last edited Jun 29, 2005
Hi Rubens, Use: appendText(pop1_mle,text) where 'text' is a single line. Remember that you will need to add line endings either \n or \r\n to get the lines to break apart, else the test will simply continue fromthe previous piece. Cheers, Dave Rubens wrote: > > Hi, > > It=B4s possible to add to a MleText line per line=20 > of a text, instead of all the whole text as a unique sequence ? > <snip> > for i=1 to length(list) do > setScrollPos( pbar,i ) > setText(pop1_mle,list[i]) > end for . .. : :: = == == = :: : .. . Server-Side DB driven web sites, Software Development (and part-time games developer) contact dave_p at purpletiger dot com or probert.dave at gmail dot com . .. : :: = == == = :: : .. .