[Gambas-user] Getting wrong text item from listtview

jbskaggs jbskaggs at ...1871...
Sun Apr 6 22:46:18 CEST 2008


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
-- 
View this message in context: http://www.nabble.com/Getting-wrong-text-item-from-listtview-tp16529593p16529593.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list