Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to highlight textbox automatically?
Message
 
 
To
26/08/2004 05:07:13
Czarina Joyce Villanueva
Innovision Systems International
Manila, Philippines
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00936511
Message ID:
00936516
Views:
17
>How to highlight a textbox automatically? I need this because I have a numeric input textbox where upon entering the value, the initial zero value always adds at the end of the value being inputted. I want the zero automatically deleted when entering the a value.
>
>Any help is highly appreciated.

You can use SelectAll property of the textBox control. First create an Enter, Click, or DoubleClick Events that contains code like this:
if((double)textBox1.Value = 0.00){
    textBox1.SelectAll();
}
HTH
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Reply
Map
View

Click here to load this message in the networking platform