[Gambas-user] TableView: Mark row

Hans Lehmann hans at gambas-buch.de
Tue Aug 1 09:58:29 CEST 2023


Hello,

I already checked the ranges before, because I also noticed that if the 
value is greater than Gridview1.Rows.Max, the statement is silently 
ignored.
Therefore, this statement for navigating through a TableView also works 
without errors:

Public Sub btnNext_Click()

     If tblView.Row > -1 Then
        tblView.Rows.Select(tblView.Row *+ 1*) ' <<<--
        tblView.SetFocus()
     Endif

End

Thanks for the explanations
says
Hans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230801/16c99d4b/attachment.htm>


More information about the User mailing list