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:
00532934
Vues:
12
This message has been marked as a message which has helped to the initial question of the thread.
>>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.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform