I wanted to ask this question for a while.
It seems like if I want to set the maximum width of the form, then I also need to set the maximum height.
Is it correct?
If so, which of the many variables do I use in this situation to set the maximum height of the form to the height of the window?
Screen.PrimaryScreen.Bounds ?, Screen.GetWorkingArea (New Point (0, 0))?
Eta: From further research, I think PrimaryScreen.Bounds and GetWorkingArea are the same.
Also, having thought a little more, should I put Int32.MaxValue in the height property instead of the maximum window height?
Jules source
share