>Hi Malcom
>I have this textbox class for numeric input only. Try it.
>
>>Hi John,
>>
>>Thanks for the suggestion. I'm actually using the readonly textbox for numeric input. The advantage of keeping the control in readonly mode and updating it via KeyPress() is that the right alignment is preserved during input.
>>
>>Malcolm
Brings up the point... if your capturing all the Keystrokes.... Why make the control readonly?