Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
Hi, am very new to programming in general, I'm 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 :)
  • Leaders
Posted

   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

that would make a very long textbox.

Posted
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 :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...