Re: Strange ListView Behavior
- Posted by CChris <christian.cuvier at agricu?tur?.gouv.fr> May 24, 2008
- 642 views
don cole wrote: > > When I > > setLVItemText(ListView89,2,2,"***") > > into an empty ListView. Nothing happens. > > However if I > > for x=1 to getLVCount(ListView89) do > junk&=addLVItem(ListView89,0,"") > end for > > First > > then it works ok. > > Don Cole I'd expect that. setLVItem() sets an item's properties. The item must exist prior. If you add it first, then it exists and can be set. I jnow, some routine sets, like defineUserProperties() and friends, weren't designed like this. But I think this behaviour should remain the exception. add() adds and sets somehow, set() only sets. The release of win32lib 0.70.4a will be delayed a little due to the current development activity for Eu v4.0. I'm now targetting June 15 or something around that date. CChris