Dim a As String="abc"
If MainForm Is Form Then
Log("Jo")
End If
Dim O As Object
O = MainForm
If O Is Canvas Then
Log("Canvas")
Else
Log("Not a Canvas")
End If
Log(GetType(MainForm))
Log(GetType(Canvas1))
Log(GetType(a))
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.