mrlucid
10-11-2006, 12:58 PM
It's been a while since I've coded anything and I am working to improve an existing project. I would like the main window (form) of the application to change size based on user interaction...
First off... the program is a fixed window size. let's say 320x240... and when the user clicks on a button I want the window to resize to let's say 640x480.
i know this is a really stupid question and i should have been able to figure it out by now but I figured i could get input from others.
I tried:
If (user clicks on item) Then
Me.Size.Height = 480
Me.Size.Width = 640
with no luck as well as many other ways that i could think of.
any help would be greatly apreciated. :)
First off... the program is a fixed window size. let's say 320x240... and when the user clicks on a button I want the window to resize to let's say 640x480.
i know this is a really stupid question and i should have been able to figure it out by now but I figured i could get input from others.
I tried:
If (user clicks on item) Then
Me.Size.Height = 480
Me.Size.Width = 640
with no luck as well as many other ways that i could think of.
any help would be greatly apreciated. :)