Android Question [B4XTable] How can i make long click

Sergio Medice Garcia

Member
Licensed User
I created a B4XTable and the normal click is to open a msgbox2 with options, but i need the long click to open a panel with others options.

How can i make this?

Thanks for all
 

Mahares

Well Known Member
Licensed User
but i need the long click to open a panel with others options
From what I gather, the library as it stands currently has no long click, but it has a header click event in addition to the click event. I do not know if this meets your needs, but something like this:
B4X:
Sub B4XTable1_HeaderClicked (ColumnId As String)
    Log(ColumnId)  'name of the column
    If ColumnId="Name" Then
        Log("I need to load layout one")
    Else
        Log("I need to load layout two")
    End If
End Sub
 
Top