Change Form size [RESOLVED
Hi,
I was really surprised that such an easy problem as this was not covered in the forums. I looked, but couldn't find anything.
Now, I want to change the form size at runtime, when the user clicks a label the form size gets changed.
I have this code...
Me.Size.Width = 298
And i dunno wats wrong with that but i get this error:
Expression is a value and therefore cannot be the target of an assignment.
And with this...
Me.Size.Width(298)
I get
Property access must assign to the property or use its value.
So really, how the hell do you change it? I have no idea, surley that should work, I don't understand.
Thanks for the help, please keep this simple.