Anyone know where I can find an .OCX that will resize all of the controls in my project automatically to fit the users screen display??? Thanks.
Printable View
Anyone know where I can find an .OCX that will resize all of the controls in my project automatically to fit the users screen display??? Thanks.
Try this code. It uses a For Each Loop and loops through all of the Controls on the Form and Resizes them.
Code:' Declare a variable
Dim Obj As Object
' Loop through all controls on the Form
For Each Obj In Controls
' Move the controls to fit the Screen's width and Height
Obj.Move 0, 0, Screen.Width, Screen.Height
Next Obj