I have a form that has a multitude of controls on it ( Labels,TExtbox,combo box, grids radio button and group boxes). I would like a streamline way on how to easily resize a form based on the users screen size.
I have the following code:
Dim X as Integer= my.computer.Screen.Bounds.Height
Dim Y as Integer = my.computer.screen.bounds.width
Sub FrmLoad ()
me.size = new size(X,Y)
I also changed the following properties on the form itself.
AutoSize = True
AutoSizeMode = GrowAndShrink
Do I need to to anything with the labels and textboxes and combobox ?