Is it possible to disable an item in a xCustomListview? I have looked in the forum for an answer but am not able to locate a solution. I tried this code but it doesn't disable it and I can still click on it.
And of course a simple p.Enable = False doesn't work.
I could just remove the item but was wanting to still have it in the list for the user to few but not be able to do anything with it. Thanks in advance to those who respond.
BTW - this forum is awesome. I am usually able to find answers to most of my problems. Many thanks to those persons that take the time to give solutions to us neophytes.
B4X:
Sub EnableAll(p As Panel, Enabled As Boolean)
For Each v As View In p
If v Is Panel Then
EnableAll(v, Enabled)
Else
v.Enabled = Enabled
End If
Next
End Sub
And of course a simple p.Enable = False doesn't work.
I could just remove the item but was wanting to still have it in the list for the user to few but not be able to do anything with it. Thanks in advance to those who respond.
BTW - this forum is awesome. I am usually able to find answers to most of my problems. Many thanks to those persons that take the time to give solutions to us neophytes.