1. MleText line per line...

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

new topic     » topic index » view message » categorize

2. Re: MleText line per line...

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
. .. : :: = == == = :: : .. .

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu