A
Andre Arpin
I am trying to check if a pointer has been initialized using the following
code but it does not work I would appreciate any suggestion.
Thanks in advance
Andre
If Not (Me.AxPolyCtl2 Is Nothing) Then
Me.AxPolyCtl2.sides = NumberOfSides.Text()
End If
-----------------------------------------------------------------
defined as:
Friend WithEvents AxPolyCtl2 As AxPOLYGONLib.AxPolyCtl
initalized as:
Me.AxPolyCtl2 = New AxPOLYGONLib.AxPolyCtl
code but it does not work I would appreciate any suggestion.
Thanks in advance
Andre
If Not (Me.AxPolyCtl2 Is Nothing) Then
Me.AxPolyCtl2.sides = NumberOfSides.Text()
End If
-----------------------------------------------------------------
defined as:
Friend WithEvents AxPolyCtl2 As AxPOLYGONLib.AxPolyCtl
initalized as:
Me.AxPolyCtl2 = New AxPOLYGONLib.AxPolyCtl