VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



If a sizable form for, say, a notepad program contains a text box, this code will resize the textbo

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

Rate If a sizable form for, say, a notepad program contains a text box, this code will resize the textbo



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

Download this snippet    Add to My Saved Code

If a sizable form for, say, a notepad program contains a text box, this code will resize the textbo Comments

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.

Post your comment

Subject:
Message:
0/1000 characters