On a button click how can i make text appear in a textbox
For instance
Click ButtonA
input to Txtbox1 "test"
The word test would then appear in the textbox. I'm sure this is easy but ya know!
On a button click how can i make text appear in a textbox
For instance
Click ButtonA
input to Txtbox1 "test"
The word test would then appear in the textbox. I'm sure this is easy but ya know!
when click:
me.textbox1.text="TEST"
Double click the button then in the code that apprears write:
textbox1.text = "blah blah blah"
Depends on what version of what software you use though. This works for visual basic 2008 express i don't know if it will work for others.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Textbox1.Text = "What Ever You Want to Write"
End Sub
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.