by Dargon (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sat 4th March 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
If a sizable form for, say, a notepad program contains a text box, this code will resize the textbox accordingly as the window size is
Text1.Width = Form1.Width - 1500 '1500 is a buffer and should be changed acording to how much
'space you want between the textbox and the form edge
Text1.Height = Form1.Height - 1500
End Sub
No comments have been posted about If a sizable form for, say, a notepad program contains a text box, this code will resize the textbo. Why not be the first to post a comment about If a sizable form for, say, a notepad program contains a text box, this code will resize the textbo.