Re: Strange ListView Behavior
- Posted by don cole <doncole at pacbel?.?et> May 24, 2008
- 639 views
CChris wrote: > > 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 Thanks CChris, I'll just keep doing it the same way. Not really a problem but weird. Don Cole