[Gambas-user] Getting wrong text item from listtview

Stephen Bungay sbungay at ...981...
Sun Apr 6 22:51:34 CEST 2008


   Code example?

jbskaggs wrote:
> I dont know why i keep having new listview bugs pop up.  But this time I keep
> getting the firstitem's text in a listviewreference that everywhere else is
> pointing to the right listview item.
> 
> listview1_click() points and displays the right listview.item text
> then when it goes to listview2_click is references the right item on
> listview one
> then when I click my listview2menu to edit a text file it edits the file and
> saves with the right path (listview1.item.text
> &/listview2.item.text&/"filename.txt"
> 
> but when I goto edit same file it always calls the first listview1.item in
> the path and can't find the file.  I have scoured the code to find where I
> am reassigning the variable or moving the cursor and I am not finding it.
> 
> Is there a trick to finding the bug?
> 
> JB Skaggs





More information about the User mailing list