Re: List View Sytnax Help
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Jan 04, 2001
- 574 views
-----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