Button click to text

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Apr 2008
Posts: 1
Reputation: Mark@UKMB is an unknown quantity at this point 
Solved Threads: 0
Mark@UKMB Mark@UKMB is offline Offline
Newbie Poster

Button click to text

 
0
  #1
Apr 28th, 2008
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!
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 38
Reputation: q8_dreamy is an unknown quantity at this point 
Solved Threads: 0
q8_dreamy q8_dreamy is offline Offline
Light Poster

Re: Button click to text

 
0
  #2
Apr 28th, 2008
when click:
me.textbox1.text="TEST"
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 89
Reputation: toko is an unknown quantity at this point 
Solved Threads: 8
toko's Avatar
toko toko is offline Offline
Junior Poster in Training

Re: Button click to text

 
0
  #3
Apr 28th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,641
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: Button click to text

 
0
  #4
Apr 28th, 2008
  1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  2. Textbox1.Text = "What Ever You Want to Write"
  3. End Sub
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC