Hi
I have a tableview that contains a column of labels that can be clicked. These labels have a tag that I am not able to see in the event function, see below:
My be the problem is because the getTarget method returns a LabeledText instead of Label.
Thanks for any suggestion.
Giovanni Rossati
I have a tableview that contains a column of labels that can be clicked. These labels have a tag that I am not able to see in the event function, see below:
B4X:
Sub Cancel_MouseClicked (EventData As MouseEvent) ' delete event
Dim jo As JavaObject = EventData
Dim target As JavaObject = jo.RunMethod("getTarget", Null)
' Dim l As Label = target
' Log(l.tag)
' Dim text As String = target.RunMethod("getText", Null)
...
End Sub
Thanks for any suggestion.
Giovanni Rossati