Form Autosize
-
If i have the following properties enabled.... Form autosize = True Form maxsize = True Form minsize = True Does this mean that my Form will goto the maxsize of the users screensize and not beyond.?
-
If i have the following properties enabled.... Form autosize = True Form maxsize = True Form minsize = True Does this mean that my Form will goto the maxsize of the users screensize and not beyond.?
No, you have to set the
WindowState
toFull
.
Trinity: Neo... nobody has ever done this before. Neo: That's why it's going to work.
-
If i have the following properties enabled.... Form autosize = True Form maxsize = True Form minsize = True Does this mean that my Form will goto the maxsize of the users screensize and not beyond.?
The
Form.MaximumSize
andForm.MinimumSize
properties do not accept a Boolean value, so that code has no meaning. If you want your form to fill the screen all you have to do is set itsWindowState
property toMaximized
:myForm.WindowState = WindowState.Maximized
Dave Kreskowiak Microsoft MVP - Visual Basic
-
No, you have to set the
WindowState
toFull
.
Trinity: Neo... nobody has ever done this before. Neo: That's why it's going to work.
WindowState has no Full enumeration member, it's WindowState.Maximized.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
WindowState has no Full enumeration member, it's WindowState.Maximized.
Dave Kreskowiak Microsoft MVP - Visual Basic
Sorry, I'm thinking of the WMP WindowState.
Trinity: Neo... nobody has ever done this before. Neo: That's why it's going to work.