Re: win32lib getTVSelectedText Not Working
- Posted by c.k.lester <euphoric at cklester.com> Apr 09, 2007
- 592 views
CChris wrote: > c.k.lester wrote: > > CChris wrote: > > > c.k.lester wrote: > > > > I'm using Win32Lib 0.60 Patch #67, 15-Jan-2007. The getTVSelectedText > > > > item > > > > doesn't work on sub-items. > > > > Anybody have a fix?! > > > The problem is with getTVIndex(), which wrongly assumes that all items are > > > at > > > level 1. > Here's a fix; it involves both getTVIncedx() and getTVText(). Fix doesn't work for me. :/ If I have this: A - 1 - 2 - 3 B - 1 - 2 C - 1 D - 1 then no matter what subitem I click on, 'B' is returned from getTVSelectedText().