gregchao Active Member Licensed User Longtime User Aug 3, 2018 #1 I am using TableView in B4i application and would like to utilize the LongClick but it doesn't supply the SectionIndex and TableCell value like "SelectedChanged. How do I get it? See below for example of the two: Sub TableView1_SelectedChanged (SectionIndex As Int, Cell As TableCell) End Sub Sub Tableview1_LongClick End Sub
I am using TableView in B4i application and would like to utilize the LongClick but it doesn't supply the SectionIndex and TableCell value like "SelectedChanged. How do I get it? See below for example of the two: Sub TableView1_SelectedChanged (SectionIndex As Int, Cell As TableCell) End Sub Sub Tableview1_LongClick End Sub
Erel B4X founder Staff member Licensed User Longtime User Aug 5, 2018 #2 The LongClick event appears in the list of all views as they are all based on the same parent view class. You shouldn't use it with TableView. You can instead add a panel as a custom view and handle its event. I recommend you to use xCustomListView instead. Upvote 0
The LongClick event appears in the list of all views as they are all based on the same parent view class. You shouldn't use it with TableView. You can instead add a panel as a custom view and handle its event. I recommend you to use xCustomListView instead.