>>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