RE: Need LV Help ATT Derek Parnell

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

Derek Parnell wrote:
> 
> Sabal.Mike at notations.com wrote:
> > Can I see your full KeyReturn1_onClick() routine?  I haven't been
> > following this thread much, since I'm not the most experienced LV user; 
> > but it is relevant to my current project, and maybe we can isolate the
> > issue together.  Also, what happens when running the program under
> > version 0.57.4?
> > 
> > Mike Sabal
> > 
> > >>> jorfergie03 at yahoo.com 05/06/02 09:10AM quoted Tony Steward as
> > saying >>>
> > > 
> > > when adding the items I get {2,3} but if I try to retrieve these
> > items 
> > > or change them I get 3 not avail from seq length of 2.
> > 
> 
> Are you using insertLVItem() or addLVItem() from the new win32lib?
> 
> insertLVItem() returns a sequence {index, id} where index is the 
> position within the LV of the new item and id is the item's unique 
> identifier. The item's position can change within the LV but the id 
> never changes.
> 
> addLVItem() returns an integer id. The unique id of th eitem. It does 
> not return its position in the listview 'cos addLVItem, by default, adds 
> 
> to the top of the listview.
> -------------
> Derek.
> 
> 
Thanks for your time. It seems in my hast to zip the file I made an 
error. I am trying (when my isp will let me) to put the correct zip on 
the internet. I know working with this large file is a pain but I will 
direct you directly to the problem. Please not I am not using the new 
win32lib. I did try using it yesterday but could not get my LV to 
respond to the on click event.

The problem I seem to be having is the when I use get LVItemSelected on 
the second LV which has 2 items in it. It returns {3,2} and my list of 
unique ID's is also {3,2} then getLVItemText(LV, ID, 1) compains there 
is only 2 sequences when it gets to ID 3. I have acheived the before so 
I must be doing something wrong.

Thanks Tony

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

Search



Quick Links

User menu

Not signed in.

Misc Menu