Hi to all,
it's possible to access the name property of a view by code (without using the tag property) ?
For example:
The point is : how known the name of the panel where the event was generated ?
it's possible to access the name property of a view by code (without using the tag property) ?
For example:
B4X:
'*** Caller event within the object
Private Sub panel1_Click
'raise the specify event in the caller module
If SubExists(mModule, mEventName & "_Click") Then
CallSubDelayed2(mModule, mEventName & "_Click", panel1)
End If
End Sub
'*** App Main module
Sub MyEventName_Click (pnl As Panel)
if pnl.name = "panel1" then ...
end sub
The point is : how known the name of the panel where the event was generated ?
Last edited: