When playing with tables, I wondered why I couldn't set a cell selected of the 0 row. It's not that important, just for the record.
When I show a table the first time and has set tbl.SelectCell(Row, 0) it will not be selected (visual on the screen). It's just for the 0 record.
The marked line is a workaround.
Scub
When I show a table the first time and has set tbl.SelectCell(Row, 0) it will not be selected (visual on the screen). It's just for the 0 record.
Sub Globals
'Add control tbl to form
recNr = 0
maxRec = 9
End Sub
Sub App_Start
Form1.Show
tbl.AddCol(cNumber, "Nr", 100)
for ii = 0 to maxRec
tbl.AddRow(ii)
next
' Tbl.SelectCell("Nr", 1)
Tbl.SelectCell("Nr", 0)
End Sub
The marked line is a workaround.
Scub