>>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?
>
>That "bug" has been around for a while. Good to see you using unbound text boxes. Sergey shared this with me when I had a question much like yours - I use it all the time - store it in the controls init event:-)
this.AddProperty('nTextValue',0)
>this.ControlSource="this.nTextValue"
Found the thread
Re: Enter key zeros out edit change to textbox Thread #
935276 Message #
935358
If it's not broken, fix it until it is.
My Blog