Re: listview limit

new topic     » goto parent     » topic index » view thread      » older message » newer message

Ok Derek,

so, it's not possible to show in display more than 259 caracters using 
listview ?
What you recommend me to use instead of listview ? MleText ?

Thanks,
Rubens

At 11:45 17/7/2003, you wrote:
>
>
>----- Original Message -----
>From: <rml at rubis.trix.net>
>To: "EUforum" <EUforum at topica.com>
>Sent: Thursday, July 17, 2003 11:36 PM
>Subject: Re: listview limit
>
>
> > Hi Derek;
> >
> > This is the code:
> >
> >
> > without type_check
> > include Win32Lib.ew
> > without warning
> > with trace
> > --with profile
> > 
>
> --------------------------------------------------------------------------------------------------------------
> > constant Window1 = createEx( Window, "", 0, 0, 0, 0.999, 0.9, 0, 0 )
> > constant ListView1 = createEx( ListView,
> > {{"Count",100,0},{"Phrases",2000,0}},Window1,0, 0 ,0.99,
> > 0.9,or_all({LVS_REPORT,LVS_SHOWSELALWAYS}),0)
> >
> >
> > sequence texto
> > object bla
> >
> > setLVStyle(ListView1, {LVS_EX_CHECKBOXES,LVS_EX_FULLROWSELECT})
> > texto=repeat(123456789,30)
> > bla = addLVItem( ListView1, 0, {sprint(1),sprint(texto)})
> > WinMain( Window1,Normal )
> >
> >
>Ok, it seems that Windows does only display the first 259 characters (in 
>my case) of a column. It still contains all the text though. If you add 
>these three lines just before the WinMain() call.
>
>  texto = ""
>  texto = getLVItemText(ListView1,1,2)
>  setText(Window1, {"Item has %d chars", length(texto)})
>
>You'll see that all the text is still there, just not all of it is displayed.
>
>--
>Derek
>
>
>
>TOPICA - Start your own email discussion group. FREE!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu