I have been looking for something similar myself but found nothing really
useful. Truth is it is quite hard to create a textbox with this
functionality because of some limitations in .NET Compact Framework.
If I understand Keven right, the article on code project won't help him very
much, especially if he is working in C#.
OpenNETCF.org has it's TextBoxEx that you can force to be "numeric only". It
does have some major limitations though, such as not beeing able to set
negative numbers and decimal numbers. Anyway, I think that is a better
start...
I'm actually working on this kind of TextBox, but I am quite a newbie when
it comes to creating custom controls, and it is not a final product yet for
a couple of days.
/ Peter
"Peter Foot [MVP]" <(E-Mail Removed)> skrev i meddelandet
news:%(E-Mail Removed)...
> The project here
> http://www.codeproject.com/vb/net/maskedbox_control.asp
> To create a masked textbox might provide a few pointers, the code is for
> the desktop but you should be able to modify it to suit your project.
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> www.inthehand.com | www.opennetcf.org
>
> "Keven Corazza" <(E-Mail Removed)> wrote in message
> news:9F303961-C870-4FE1-BD7E-(E-Mail Removed)...
>> Hi, I need to extend the behaviour of TextBox control and add to it the
>> option to accept only integer or float number and so on.
>>
>> Does any one know if there is some code already written from which start
>> or
>> better if there is some control with this functionality ready to use ?
>>
>> Thank you in advance.
>>
>> Keven Corazza
>
>