VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Resize your text box to fit the forms size, this is useful when the form is made bigger your text b

by Chris (9 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Sun 7th April 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Resize your text box to fit the forms size, this is useful when the form is made bigger your text box goes bigger

API Declarations


'http://chrisdot.tk

Rate Resize your text box to fit the forms size, this is useful when the form is made bigger your text b



'Resize Text Box When Form Is Made Bigger
'Insert the Following into your code window
'Insert a text box into your project.



Private Sub Form_Resize()
Dim chris, chris1 As String
chris = Form1.Width
chris1 = Form1.Height
Text1.Width = chris
Text1.Height = chris1
Text1.Left = -20
End Sub

Download this snippet    Add to My Saved Code

Resize your text box to fit the forms size, this is useful when the form is made bigger your text b Comments

No comments have been posted about Resize your text box to fit the forms size, this is useful when the form is made bigger your text b. Why not be the first to post a comment about Resize your text box to fit the forms size, this is useful when the form is made bigger your text b.

Post your comment

Subject:
Message:
0/1000 characters