Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Currency textbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00532527
Message ID:
00532935
Vues:
8
>>>Hi Nadya.
>>>
>>>>> Why 12? Yes, I want it to be selected, when I click with mouse. Thanks. <<
>>>
>>>I thought your inputMask was $$$$,$$$.$$. So a SelLength of 12 would handle it.
>>>
>>>Marcia
>>
>>No, it's $$$,$$$,$$$,$$$ BTW, I found another problem. When I delete the whole content of the textbox and start typing again, I see , , in the textbox. Also comma doesn't appear on the right position while typing. Everything becomes normal, when I leave textbox, but it just doesn't seem right while typing. Is it possible to change this behavior? It's not a big problem and I guess, I can live with it, but if it could be fixed, it would be great.
>>
>>BTW, instead of nodefault it should be dodefault() in your code sample. Otherwise it doesn't work.
>
>Nadya, you may try to set
>this.InputMask = "999999999999" in GotFocus() event and reset it to
> this.InputMask = "$$$,$$$,$$$,$$$" in LostFocus() event. Then there will be no extra characters while you are typing.

I like this idea, thanks. I'll try tomorrow. Simple, how can not I see it by myself :)

Sorry, Scott, I like Nick's idea better, so I changed points assignation.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform