Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form navigation and data entry
Message
De
21/12/2009 14:19:24
 
 
À
21/12/2009 12:52:11
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01440046
Message ID:
01440057
Vues:
41
>I'm having VFP withdrawal symptom while programming Winform Data Entry forms.
>Here are a few questions:
>-Is there some convenient way that I'm missing to have the focus proceed to the next tab index when the Enter key is hit, as it does in VFP? I can see how program it by trapping the keydown event, but is there a simpler way?
>-Is there some way to limit the number of characters keyed, as we can do with an input mask?

For this one there's the MaxLength property.
TOMH, for the others, handling the KeyDown (or KeyPress) event is the way to go.
Disclaimer: Not really doing WinForms anymore - others are likely to give a better response........

>-Is there some way to make the characters show as uppercase, as we can do with an input mask? I can make it upper OK, but I'd like the user to see it transformed to upper the way we can with VFP. Again, I can probably do it in the keydown event, but is there a simpler way?
>-Is there some way to handle decimal input the way VFP does? I tried the masked textbox and it seems kludgey to me.
>
>I checked around the C# forums but most of them think that the way C# does it out of the box is great.
>
>Any ideas greatly appreciated.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform