Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trailing zero in textbox
Message
 
 
To
18/04/2007 10:51:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01081752
Message ID:
01217438
Views:
15
>>Hi Dragan,
>>
>>I'm thinking, my problem is yet different. I have a textbox which displays 0 (the field is Integer and has no data). When I click on it and start typing, the 0 goes to the end of the number. My question is: how to avoid this behavior?
>>
>>I also vaguelly remember, that we had the same problem at my former work. However, I don't remember if we solved the problem or not.
>
>Try also to set select on entry, or put K in the .format property (which is about the same). Though that won't help with mouse-clicking in the middle of the field and typing in it.
>
>I don't really remember when was the last time I had this problem - didn't have too many long numbers to deal with for quite a while.

BTW, the problem disappears. I think I tried to use some special txtNumeric class in that form, but then switched back to my main textbox class and I don't have problem anymore.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform