Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preventing focus
Message
 
À
19/06/2002 14:40:42
Ron Hodge
Sebrex Systems, Inc.
Dacula, Georgie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00670247
Message ID:
00670251
Vues:
20
>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.
Enabled = false ;
Chris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform