by Robin Hickmott (5 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Tue 18th January 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Resizes a control i.e textbox when a form is resized
Private Sub Form_Resize()
Text1.Height = Form1.Height - 1000
Text1.Width = Form1.Width - 1000
'To leave gaps try using ( = Form1.Height - x)
'or for those who dont like maths x = a number such as 1000
End Sub