Tablecell 0 not selected


Active Member
Licensed User
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.

Sub Globals
'Add control tbl to form

recNr = 0
maxRec = 9
End Sub

Sub App_Start

tbl.AddCol(cNumber, "Nr", 100)
for ii = 0 to maxRec

' Tbl.SelectCell("Nr", 1)
Tbl.SelectCell("Nr", 0)

End Sub

The marked line is a workaround.



Active Member
Licensed User
If you want to see the blue marking just do: Tbl.Focus

When I do a SelectCell("col",x) where x is not equal to 0, the bleu marking is visible without doing a focus before. So only for the 0 I have to do a focus and for other records not?......


added: This behavier is only on the PC. On the PPC I only see the marking after a focus, no mather what record I choose.
Last edited:

Gale Johnson

Licensed User
Longtime User
Table line selection

I finally made the header visible as 'false', put my header listings on the first "0" line. The header line can never be selected and all other lines can be selected as needed.