Re: List View Sytnax Help

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

-----Original Message-----
From: Tony Steward

> Ok if i've got this right to get the text of the
> selected item in the 1st column I use getLVSelectedText().

> Is the correct syntax
> text = getLVSelectedText(ListName)
> If so I cant get it to work. If not how do you use it.
> I have tried looking at the Win32lib.htm but I don't
> understandt what it means. Below is what is says.

> getLVSelectedText ( integer id )

> What do you do with integer id

You are correct.  The documentation is a little incomplete.  As a general
rule, however, 'integer id' in win32lib refers to a control.  Also, you
found a bug that has somehow stayed in there.  In getLVSelectedText(), there
is a call to getLVItemText().  The last argument passed is 0, but it should
be 1.

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu