Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom Textbox - Set To Invalid
Message
 
À
02/08/2007 10:58:31
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 8.0
Divers
Thread ID:
01245494
Message ID:
01245567
Vues:
21
This message has been marked as the solution to the initial question of the thread.
The ErrorProvider is built just for that: http://www.emoreau.com/Entries/Articles/2003/02/The-ErrorProvider-Control-(in-Windows-Forms).aspx


>I have a custom textbox class, and I would somehow like to add functionality to show when the textbox does not contain valid text. Basically, I just want a method that I can manually call that pops an exclamation point or other icon up next to the textbox.
>
>Anybody know how to do this? I know I can probably change the background color of the textbox or something, but that might look a little hokey.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform