I need to know what class is derived an object of custom controls.
I know the function:
specifically I need to know the class membership of the object that is passed in the custom controls.
thanks
I know the function:
B4X:
If CallBack Is Activity Then
end if
specifically I need to know the class membership of the object that is passed in the custom controls.
B4X:
Public Sub Initialize (vCallback As Object, vEventName As String)
EventName = vEventName
CallBack = vCallback
If CallBack Is Activity Then
Log("è una activita")
else if CallBack Is Panel Then
Log("è un pannello")
End If
End Sub
thanks