Android Question [B4X] [XUI] CLV set clickable item

Discussion in 'Android Questions' started by yiankos1, May 17, 2018.

  1. yiankos1

    yiankos1 Active Member Licensed User

    Hello forum,
    Is it possible to to create a non clickable item at b4x CLV?
    Thank you for your time.
  2. LucaMs

    LucaMs Expert Licensed User

    Maybe adding this routine to xCLV?

    Public Sub SetItemEnabled(ItemIndex As Int, Enable As Boolean)
    Dim Item As CLVItem = GetItem(ItemIndex)
        Item.Panel.Enabled = Enable
    End Sub
    Not tested enough; I need the Erel's approval :)
    Erel and yiankos1 like this.
  3. yiankos1

    yiankos1 Active Member Licensed User

    Indeed, that worked! Thank you!
    LucaMs likes 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