>>>
>>>funny thing is, that with character this design behaivior is different. anyway, i don't have the space to widen those fields , to allow all the digits to show.
>>>
>>>also i don't need to show all the digits, because , as i have stated before, the user will enter either a number like 123456.0 or 0.123456 but not 123456.123456. therfore i actually don't wanna show anything other then the number entered. the txtbox shows 12345678.00000000 - this i don't need (wast of space) all i need to show is 1234567.0
>>
>>Is it a true number or a 8 chars code (0-9.)?
>
>it needs to be numeric. it is a unit of messure conversion number, to allow for different UM's within the system.
>
>I.E.:
>purchasing buys scews in pallets -> 10 boxes in a pallet
>you store the srews in boxes -> 5000 screws in a box
>andd you use/sell the srews in 'each'
>
>so, when the system calculates how many screws we need/have/need to order, it need to be able to convert between the different levels within the system. since i don't know how small/large those numbers can be i must allow to enter a large number. but at the same time, the user doesn need to see "5000.00000000" if he/she has a box with 5000 srews in the hand.
Then you must to play (keypress/InteractiveChange/...) with Inputmask and decimal point position:
Value = 123456.78 Inputmask ="999999.99"
Value = 1.2345678 Inputmask ="9.9999999"
...
A simple way it is to set InputMask = "99999999.99999999",
but, if you try it, then you found problems when the textbox is active.