Better use a MaskEdit control.
>Hi,
>
>I have put a text box (Unbound) on the MSHFlexGrid, and it will follow the left right arrow to move in the grid. And it is storing different data type.
>
>Now my question is, users allow to type anything to the text box, but I just want the text box only allow numeric and decimal dot with 2 decimal places.
>
>Hi guys any hints for me?
>
>Aston
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com