Hi,
Which editor, and what settings should I set to get this effect:
If I key in 1200, 12.00 gets displayed.
If I key in 500, 5.00 gets displayed.
Currently I have to key in '5' '.' '0' '0'. I would like to do without entering the period
Does anybody have any idea?
I don't think there's any easy way to do this. There's certainly no way to do it as you type, because the control cannot know where you want he decimal until you finish typing.
Perhaps what you should do in this case is... don't use a Mask. Use an UltraTextEditor. And then you can examine the Text of the control in the Validating event and if there's no decimal point in it, add one in.
I thought this is pretty standard stuff? Like those displays in POS systems, where you need not key in the decimal point.
The decimal point is always there, so when I key in 1450, 14.50 gets displayed, or if I key in 80, 0.80 is shown. Meaning whenever I key in a digit, it gets pushed towards the right. The decimal point is always fixed at 2 decimal places.
I agree that when you say it like that, it seems pretty simple. Unfortunately, the masking functionality wasn't designed for something like this.
You should Submit a feature request to Infragistics and perhaps we can add this as a feature in a future release.