Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inputmask as I type...
Message
De
22/07/2008 18:25:13
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
22/07/2008 18:09:01
Chris Sund
Silhouette Solutions
Utah, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Divers
Thread ID:
01333323
Message ID:
01333330
Vues:
10
>Hello,
>
>Does anyone know how to implement the inputmask as the person types in the field. Here's my input mask...
>
>99-9999-99-9-99-99-9999
>
>Currently if I set the input mask my field shows
>
> - - - - - -
>
>I want my field to be blank, and have the dashes insert in the appropriate places as the user types.
>
>
>Any help is appreciated!

You may react in .interactivechange and set the .inputmask= left("99-9999-99-9-99-99-9999",n) characters of it when len(textbox.text) reaches m - n would need to be long enough to have m nines in it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform