iOS Question TableView LongClick does not have SectionIndex and TableCell

Discussion in 'iOS Questions' started by gregchao, Aug 3, 2018.

  1. gregchao

    gregchao Member Licensed User

    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
  2. Erel

    Erel Administrator Staff Member Licensed User

    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.
  3. gregchao

    gregchao Member Licensed User

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice