Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make the value in a text box null?

Status
Not open for further replies.

paulbradley

Programmer
Joined
Oct 9, 2002
Messages
158
Location
GB
I have a text box that, when something is written and enter is hit, the message is submitted. However, I then want the text box to become empty. If I say text1.text = "" then this gets rid of all the text in the box but my cursor ends up a line down inside the text box. Is there a way of stopping this by perhaps making the value of the textbox null?

Many Thanks
 
"but my cursor ends up a line down inside the text box"
what does this mean? Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top