I would like to be able to pass a view (like a button or edit text) to a subroutine and to be able to determine what the view's "name" is.
The above code snippet is hypthetical because the Name property doesn't exist. Is there a way to acquire the view name without putting it into the Tag or other property?
Thanks,
Rusty
B4X:
Dim Button1 as button
SubRoutine(Button1)
Sub SubRoutine(Ctl as view)
MsgBox("The view's name is: " & clt.name, "")
End Sub
Thanks,
Rusty