RE: Need LV Help ATT Derek Parnell

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

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.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu