Re: listview limit

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

----- Original Message -----=20
From: <rml at rubis.trix.net>
To: "EUforum" <EUforum at topica.com>
Subject: Re: listview limit


>=20
>=20
> Hi Derek;
>=20
> This is the code:
>=20
>=20
> without type_check
> include Win32Lib.ew
> without warning
> with trace
> --with profile
> =
-------------------------------------------------------------------------=
-------------------------------------
> constant Window1 =3D createEx( Window, "", 0, 0, 0, 0.999, 0.9, 0, 0 )
> constant ListView1 =3D createEx( ListView,=20
> {{"Count",100,0},{"Phrases",2000,0}},Window1,0, 0 ,0.99,=20
> 0.9,or_all({LVS_REPORT,LVS_SHOWSELALWAYS}),0)
>=20
>=20
> sequence texto
> object bla
>=20
> setLVStyle(ListView1, {LVS_EX_CHECKBOXES,LVS_EX_FULLROWSELECT})
> texto=3Drepeat(123456789,30)
> bla =3D addLVItem( ListView1, 0, {sprint(1),sprint(texto)})
> WinMain( Window1,Normal )
>=20
>=20
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 =3D ""
 texto =3D 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.

--=20
Derek

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

Search



Quick Links

User menu

Not signed in.

Misc Menu