Hi
I need to make a form sometimes moveable and sometimes not, but every time I try changing Me.Moveable in the code, it gives me this compilation error:
"Function or interface marked as restricted, or the function uses an Automation type not supported in Visual Basic"
Example program (that doesn't work):
Anybody know what this means?
Thanks
I need to make a form sometimes moveable and sometimes not, but every time I try changing Me.Moveable in the code, it gives me this compilation error:
"Function or interface marked as restricted, or the function uses an Automation type not supported in Visual Basic"
Example program (that doesn't work):
Code:
Private Sub Command1_Click()
If Me.Moveable Then
Me.Moveable = False
Else
Me.Moveable = True
End If
End Sub
Anybody know what this means?
Thanks