I have been playing with the CustomListView.
I have a Panel that has 3 Labels, an image and a CheckBox.
When I click on the Panel, the CheckBox changes state.
This works cool.
I now need to be able to read lblDateTime.Text.
I have tried:
Eish, but this don't work.
Could someone steer me in the right direction?
I have a Panel that has 3 Labels, an image and a CheckBox.
When I click on the Panel, the CheckBox changes state.
This works cool.
I now need to be able to read lblDateTime.Text.
I have tried:
B4X:
Sub clv2_ItemClick(Index As Int, Value As Object)
Log(Index & " = " & Value)
Log("Panel Click: " & lblDateTime.Text)
Dim pnl As Panel = clv2.GetPanel(Index)
Dim chk As CheckBox = pnl.GetView(1)
If Not(chk.Checked) Then
chk.Checked = True
Else
chk.Checked = False
End If
End Sub
Eish, but this don't work.
Could someone steer me in the right direction?