B4J Question Listview.SetSelection and B4J

Discussion in 'B4J Questions' started by Meigionel TS, Jun 28, 2018.

  1. Meigionel TS

    Meigionel TS Member Licensed User

    In B4A, we had a SetSelection member in Listview, I was looking for just than in B4J listview, but could not find it. How would I programmatically select a item in a listview in B4J? I mean what is the equivalent of SetSelection in B4J?
  2. Daestrum

    Daestrum Well-Known Member Licensed User

    ListView1.SelectedIndex = 3  ' select 4th item in list
    Erel, DonManfred and Meigionel TS like this.
  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