Hey Community,
I create a list with the UltimateListView and fill the list with my layout, on this layout are 3 Buttons and any labels.
Here a small section:
How can i give the first label +1 when i press the smylie? the Smylie is an Button.
I've tried it, but do not come any further:
Thanks for help!
I create a list with the UltimateListView and fill the list with my layout, on this layout are 3 Buttons and any labels.
Here a small section:
How can i give the first label +1 when i press the smylie? the Smylie is an Button.
I've tried it, but do not come any further:
B4X:
Sub ulv_ItemClick(ItemID As Long, Position As Int, ClickedPanel As Panel)
'Log(ItemID)
Dim pnl_main As Panel = ClickedPanel.GetView(0)
Dim btn_up As Button = pnl_main.GetView(6)
Dim lbl_counter As Label = pnl_main.GetView(5)
'if counting = 1 Then
'opo = lbl_counter.Text
'ToastMessageShow(opo, True)
'lbl_counter.Text = opo +1
'counting = 0
'End If
' counting = lbl_counter
'Log(btn_up.)
End Sub
Thanks for help!