[Gambas-user] unattach an event ( Data on tableview )

J_Mischk3 admin at ...2701...
Sat Oct 8 12:46:50 CEST 2011




Mmm. I think the problem may be in your code. Can you show us how you read
the 
data and fill the TableView?


No problem, here it is:

        For i = 0 To sql2.DBResult.Max
                TabHandle.Rows[i].Selected = False
                TabHandle.Rows[i].Title = i + 1
                TabHandle[i, 0].text = RowStat[i]
                TabHandle[i, 0].Picture = Picture["bild1.png"]
                For j = 1 To sql2.DBResult.Fields.Count
                        TabHandle[i, j].text = sql2.DBResult[j - 1]
                Next
                RowStat[i] = ROWNORMAL
                sql2.DBResult.MoveNext
        Next

How can I use this example with the Data Event???
-- 
View this message in context: http://old.nabble.com/unattach-an-event-%28-Data-on-tableview-%29-tp32607385p32613186.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list