B4J Code Snippet B4XTable - keyboard navigation

Example of using a keyboard event filter to add keyboard navigation to B4XTable. It uses B4XTableSelections in permanent single cell mode.

eoTCpkHqvO.gif
 

Attachments

  • Project.zip
    10.6 KB · Views: 169

Magma

Expert
Licensed User
Longtime User
Nice !!!

Page UP, Page DOWN
B4X:
                Case "PAGE_UP"
                    B4XTable1.CurrentPage=B4XTable1.CurrentPage-1
                    Return
                Case "PAGE_DOWN"
                    B4XTable1.CurrentPage=B4XTable1.CurrentPage+1
                    Return
 
Top