I am only using the default Form1.
OK. I tried this...
Me.WindowState = FormWindowState.Normal
Me.WindowState = FormWindowState.Maximized
I had to do the normal 1st followed by the max to get my new property for
max screen size to take effect. Going back to normal then back to Max
visually is not really very clean way to do it because it causes the Form to
bounce around while it is changing back to normal then back to max.
Is there a way just to cause the already max screen to refresh using my new
max screen size without going back to Normal and back again to Max?
Almost there!
Thank you!
Bob
"Herfried K. Wagner [MVP]" wrote:
"BobAchgill" <Bo********@discussions.microsoft.comschrieb:
I give my user a button to change the properties of the size property of
maximize screen size. How can I programmatically cause the maximize
screen
function
I am not sure if I understand your question. You can set the form's
'WindowState' property to maximize a form. However, which "screen" do you
want to maximize?
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>