Connecting Tech Pros Worldwide Help | Site Map

text box value change...

Member
 
Join Date: Oct 2008
Posts: 42
#1: Dec 1 '08
hi all ..
can any one help me suggesting a way to clear the text box value when controll is at the text box.?

here i got a textBox, initially i got some text in it, while i do some edition in that text, the text box is suppose to be cleared. what should i do for clearing the textBox?

which event is happening while we do some edition in the text box?
markmcgookin's Avatar
Moderator
 
Join Date: Dec 2006
Location: Northern Ireland / England
Posts: 546
#2: Dec 1 '08

re: text box value change...


What language is this in? For what platform?

If it is .Net the GotFocus event is good for catching the user clicking on the box, then you could do
Expand|Select|Wrap|Line Numbers
  1. this.TextBox1.Text = ""
Reply


Similar Mobile Development bytes