Re: ListView Question
- Posted by CChris <christian.cuvier at agriculture.gouv.fr> Mar 15, 2007
- 497 views
Derek Parnell wrote: > > don cole wrote: > > In my code I only have one listView. But supposen' I had multiple listViews > > how > would</font></i> > > > > > > lvInsert = setLVInsert( 1 ) > > > > know which listView to apply itself to? > > It has a global effect. It effects all listviews. That is why you can use the > syntax > > addLVItem( { lv, -1}, ... ) > > Also, one could code ... > > -- Set effect on > temp = setLVInsert( 1 ) > addLVItem ( ... ) > -- Revert to previous setting. > temp = setLVInsert( temp ) > > > -- > Derek Parnell > Melbourne, Australia > Skype name: derek.j.parnell In the various mods I made and submitted to Derek, setLVinsert() can act locally (ie each ListView has its own flag, and you can act on either the local or global one). Perhaps this will make it to the next official lib. CChris