Hello,

I am try to make a textbox so, when I click the inside the textbox the text disappears, then when I click outside of the the textbox I want the text to reappear.

>when I click the inside the textbox the text disappears

Handle the click event of textbox.

>when I click outside of the the textbox I want the text to reappear

Handle the click event of parent of textbox.

>when I click the inside the textbox the text disappears

Handle the click event of textbox.

>when I click outside of the the textbox I want the text to reappear

Handle the click event of parent of textbox.

Would you be able to give me a example?

Would you be able to give me a code example? I looked there, couldn't find a answer.

If the MSDN didnt help, try my tutorial. Its a simple intro to event handlers

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.