Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to highlight textbox automatically?
Message
 
À
26/08/2004 05:07:13
Czarina Joyce Villanueva
Innovision Systems International
Manila, Philippines
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00936511
Message ID:
00936516
Vues:
16
>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."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform