Hi, am very new to programming in general, Im just wondering, how can I resize controls in my form, like a textbox or a drop down menu, or anything else for that matter. Thanx For any infi that may be given
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TextBox1.Size = New Size(10000, 10) ///Width then Height
End Sub
hmmm oops, sorry bout that I didnt make myself clear. I think I forgot one important part, I wanted to resize it as the actual form resized, like when you maximize the form, have the text boxes resize as well, but thanx for the info dynamic, that will prolly come in handy as well
In the forms designer if you select a control and look for the properties Anchor and Dock - not the most powerful but can make resizing logic quite easy.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.