Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preventing focus
Message
De
19/06/2002 14:40:42
Ron Hodge
Sebrex Systems, Inc.
Dacula, Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Preventing focus
Divers
Thread ID:
00670247
Message ID:
00670247
Vues:
41
I have a payment screen and when the pmt type is not credit card, I want to prevent entry to the credit card textbox. How can I prevent the credit card textbox from receiving the focus at the time the user is entering the credit card field? I can't assume they'll only access it by tabbing there from the pmt type window, so I need to handle it when they're trying to enter the field. Pretty much like the FoxPro WHEN clause does. Is there somewhere I can return False to prevent the control taking focus?

I don't want to use the enabled property for this because that would require fiddling with it every time the record changed.

Thanks.
Ron Hodge
Sebrex Systems, Inc.
Atlanta, GA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform