by Carl Capps (3 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 7th November 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
TextBox will resize to match Form dimensions.
' Text1 is set to multi-line=true and scrollbars=both
' Initially,manually align text1 to fill form1 until
' text1's left is just visible and its scrollbars are
' just visible at right and bottom.
Text1.Width = Form1.ScaleWidth
Text1.Height = Form1.ScaleHeight
End Sub