Android Question Highlight the row , unhighlight the previous

Enthousiastic

Active Member
Licensed User
Longtime User
Hello ,
in main activity i have put the buttons btnFirst , btnLast , btnPrev , btnNext to go to the corresponding rows because the database has more 1000 records and its dificcult to scroll.
Any idea what code shall i add so to highlight the row where i am and unhighlight the previous one ?


Many thanks Enthousiastic
 

Attachments

  • rtcepbuttons.zip
    150.2 KB · Views: 111

klaus

Expert
Licensed User
Longtime User
Here you are.
I added a JumpToRowAndSelect(Row As Int, Col As Int) routine in the Table Class.
Setting Row or Col values to -1 doesn't select the row or column.

Best regards.
 

Attachments

  • rtcepbuttons1.zip
    22.9 KB · Views: 132
Upvote 0
Top