VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



TextBox will resize to match Form dimensions.

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.

Rate 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

Download this snippet    Add to My Saved Code

TextBox will resize to match Form dimensions. Comments

No comments have been posted about TextBox will resize to match Form dimensions.. Why not be the first to post a comment about TextBox will resize to match Form dimensions..

Post your comment

Subject:
Message:
0/1000 characters