Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>hello marshal,
>
>is "SA" a default value? i guess one way you can do that is to put "SA" in your default value.
Hi all,
There doesn't seem to be a way to override the InputMask code.
Fortunatly since the 'A' is at the beginning of Textbox field, I've used the following trick to give me a 'psuedo' InputMask.
1. Set SelectOnEntry for the Textbox to .F.
2. Set the Value of the Textbox to 'SA'
3. Put Code in the GotFocus event of the Textbox which sets the SelStart & SelLength properties, in this case:
.SelStart = 2
.SelLength = 7
If the A character is in the middle of the field, this won't work.
Précédent
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