L
Lou
I need to unload a button that was created during runtime but keep getting
an error that
"Option Strict disallows operands of Type object for operator"=". Use the is
operator.
Here is my code
======================================
'Remove all old buttons
For i = 0 To Me.Controls.Count - 1
If TypeOf (Me.Controls(i)) Is Button Then
If Me.Controls(i).Tag = "MyButton" Then
End If
End If
Next i
==============================
Thanks
-Lou
an error that
"Option Strict disallows operands of Type object for operator"=". Use the is
operator.
Here is my code
======================================
'Remove all old buttons
For i = 0 To Me.Controls.Count - 1
If TypeOf (Me.Controls(i)) Is Button Then
If Me.Controls(i).Tag = "MyButton" Then
End If
End If
Next i
==============================
Thanks
-Lou