Re: Strange ListView Behavior

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

Derek Parnell wrote:
> 
> don cole wrote:
> > 
> > When I 
> > 
> > setLVItemText(ListView89,2,2,"***") 
> > 
> > into an empty ListView. Nothing happens.
> 
> 
> Let me get this straight ... you are trying to change the text of a
> non-existant
> item and you're surprised that it doesn't do anything.
> 
> 
> > However if  I 
> > 
> > for x=1 to getLVCount(ListView89) do 
> >                        junk&=addLVItem(ListView89,0,"")
> >               end for
> > 
> > First
> > 
> > then it works ok.
> 
> Then you add some stuff and now changing items works ... 
> 
> Yep, that is weird.
> 
> 
> -- 
> Derek Parnell
> Melbourne, Australia
> Skype name: derek.j.parnell

Of course I start out with,

global constant ListView89 = createEx( ListView, {"ListView89"," "," "," "," ","
"," "," "},
Window1, 4, 4, 776, 148,
                w32or_all({LVS_REPORT,LVS_SHOWSELALWAYS}), 0 )

Don Cole

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

Search



Quick Links

User menu

Not signed in.

Misc Menu