B4J Question [abmaterial]tablename_clicked event will be raised if scroll the table in cellphone.

Harris

Expert
Licensed User
Longtime User
You should catch what to to when scrolling. Generally, a button is in the table to view/edit the item. If you scroll by pressing this item (button) then the edit form will open.
B4X:
If tblCellInfo.Column = 4 Then
       Dim sel As Int= 0       
       SelectedRowId = tblCases.GetString(tblCellInfo.Row,  0)
       sel = SelectedRowId
    '   Toast(" Edit Zone: "&sel,3000)   
        ZonesEdit(sel)
       Return
    End If
 
Upvote 0

liulifeng77

Active Member
Licensed User
Longtime User
but there is a possibility to touch the button when scrolling the table.
is there any way to separate ~'click' from 'scrolling'
 
Upvote 0
Top