Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing focus
Message
 
To
19/06/2002 14:40:42
Ron Hodge
Sebrex Systems, Inc.
Dacula, Georgia, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00670247
Message ID:
00670251
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform