2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by nore
0

See if this helps.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        '// create and customize.
        Dim myCoolTextBox As New TextBox
        myCoolTextBox.Text = "my new textbox."
        myCoolTextBox.Multiline = True
        myCoolTextBox.ScrollBars = ScrollBars.Vertical
        myCoolTextBox.Size = New Size(200, 500)
        '// add to form.
        Me.Controls.Add(myCoolTextBox)
    End Sub
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.