Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP5 - 12 0.00 gets 120.00 in numeric object
Message
De
30/07/1998 22:15:03
 
 
À
30/07/1998 00:05:31
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00121694
Message ID:
00122935
Vues:
20
If you put your This.SetFocus() into the GotFocus() event instead of the Click(), and use a K in the Format property of the textbox, you will get the desired effect on entering the textbox - even using a mouseclick, but the user will still be able to position the cursor with a second mouseclick.

>I fixed this problem by putting
>THIS.SETFOCUS()
>in the click method.

>>I don't think VFP5 handles numeric values in textboxes incorrrectly, just not necessarily the way we might want it to. Ther problem has to do with the value not being selected when the user starts typing. It usually show up if the mouse is used to get to the textbox. With a tab ito the textbox the SelectOnEntry property will contrl the selection adn any typing would overwrite the current value.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform