>>>Hi everybody,
>>>
>>>We have textboxes on different forms, which seem to exibit the same strange behavior. The textboxes are unbound, have $ as format and 9,999,999.99 in InputMask (set in design time). Now, if you press the Enter, the cursor moves to the next control. You go back to that textbox and press Enter again and one of the digit disappers. In other words, each time you go back to the control and press Enter, one of the digits will vanish.
>>>
>>>Do you know why is that?
>>
>>Top of my head:
>>
>>Have you used "R" in the format, to tell it to obey the InputMask?
>>Something to do with the relative char position of the cursor on return to the field?
>
>No, the Format is $, as I said. Can you replicate the problem? May be we need R as well, but it would be a disaster to update all amount textboxes through the whole project, because we don't have a special class for that.
Assuming you are using a subclassed text box, you could try putting R in the format of your base class and see if it has any negative impact on other textboxes.
Regards,
Jim