In the SQLiteDB example you have following routines:
- GetView, returns the Label with the given row and col indexes.
Sub GetView(Row As Int, Col As Int) As Label
Dim l As Label
l = pnlTable.GetView(Row * NumberOfColumns + Col)
Return l
End Sub
- GetCell, returns the content of the cell with the given row and col indexes.
Sub GetCell(Row As Int, Col As Int) As String
Return GetView(Row, Col).Text
End Sub
- SetCell, sets the value of the cell with the given row and col indexes.
Sub SetCell(Row As Int, Col As Int, Value As String)
GetView(Row, Col).Text = Value
End Sub
Best regards.