Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with a zero in text box
Message
 
À
23/05/1997 09:30:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00032989
Message ID:
00033412
Vues:
42
> >Yes, I've had the same problem (and haven't solved it yet). Say I > have a > >mask of "9999.99". When it gets the focus, it shows " 0.00" as it > >ever did. Then I pres 6, I get "6 0.00" which is still OK, it's been > > >always that way. Now when I press decimal point, tab or enter, I > expect > >to get " 6.00" but no, I get " 60.00". This is the expected behaviour. If the field is fully selected when you start typing, the you replace all of the selected text. This is what you want. If the field is not selected, then you simply add to what's already there. For example, in a text box if you want to change "Hello" to "Hello World", you move to the end of "Hello" and type " World". The same thing happens here, just that it's interpreted differently, since it's a numeric field. -- Paul Russell Software Kinetics Ltd. | Phone: (902) 481-4582 Fax: (902) 468-3679 201 Brownlow Avenue | Office: Paul.Russell@SofKin.ca Dartmouth | "The best evidence that time travel will never be Nova Scotia, Canada | possible is that we have not been invaded by B3B 1W2 | hordes of tourists from the future." - S. Hawking "Use technology because it's appropriate -- except in the case of 'Java' then just use it 'cause it's cool!" - Paul Russell
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform