Versions des environnements
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement