[Gambas-user] Bug in Gambas TableView
Andrea Grandi
a.grandi at ...626...
Sun Jan 22 22:21:29 CET 2006
Hi,
please try this thing.
- open the sample project "Database" and add this Sub to the FRequest form:
PUBLIC SUB tbvData_DblClick()
$rData.MoveTo(tbvData.Row)
Message("ID Cliente: " & $rData["id"])
Message("FirstName: " & $rData["firstname"])
Message("Name: " & $rData["name"])
END
As you can understand this sub should show three message dialog with
the ID, then firstname, then name of the selected row.
The problem is that for example, if you double-click row number 23,
you see the correct ID of the row 23, then you see the firstname and
the name of the row 24.
Try as many time as you want. Every time, after you read a value in
the selected row, the current row is set to the next row available.
How is it possible?
Thanks for your support!
p.s: I'm using Gambas 1.9.23
More information about the User
mailing list