Kevin,
If I format a mmTextBox as 'C' ,put it on a form and :
1. Enter say 500.00 into it
2. Then reenter the control
3. Use the arrow keys to move to the second 0 and change it to 5 so that the value is now 505.00
4. When I hit Tab the value returns to 500.00.
This is not desired behavior.
The problem occurs in the mmTextbox.FormatEventHandler code. The cevent param has the 500.00 value rather than the 505.00 value. I don't follow what is happening there because the ParseEventHandler's cevent param has the correct value.
A second problem that occurs ( which I may have to handle) is that if I set the maximum length to go into the 'C' formatted control to 9 so that the max value would be $999,999.99, the control will not let me type in more that 9 numbers and decimals, but when I leave the control the format adds the hundreds part to the control. Thus if I type 1250500.1 [max length], when I hit tab the control displays 1,250,500.10. I am sure this will cause problems with the database.
Calvin
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!