I made a class that essentially adds some features and properties to the label. I use a lot of these so I'd like to be able to target a particular instance without knowing which one was targeted.
For example
The actual sender in this case would be the click event of a real android label, so it doesn't have access to my methods.
What would be the best way to achieve this?
For example
B4X:
Sub DataLabel_Click
Dim d as datalabel
d = sender
d.callSpecialMethodOfThisClass
End Sub
The actual sender in this case would be the click event of a real android label, so it doesn't have access to my methods.
What would be the best way to achieve this?
Last edited: