Information générale
Catégorie:
Codage, syntaxe et commandes
>OKL's can have severe and devastating side effects
Yeah... just like too much code and not enough outside contact. :)
I wasn't recommending the OKL method, it just one possibility.
I know this is an insignificant difference, but wouldn't it be less code to StrTr(this.value,"-","") in LostFocus than to prevent the key from being entered? (unless i guess if you set the maxchars (to 9 for SocSecNo), where the "-" would be counting towards that maximum)
BTW, do you have a list of 'bad' commands and their accompanying severe and devastating side effects - it would be an invaluable reference for the future.
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