Custom Control - Numeric Only Textbox

  • Thread starter Thread starter Keith
  • Start date Start date
K

Keith

Hello everyone,

I continue to seek a way to have a user only enter a
numbers and decimals in a textbox control (or control
based on the textbox control). Someone was kind enough to
send me their code on a custom control they created.

While this control worked fine under windows forms - I
attempted copy the code to CF and compile (per another
kind person's advice). I come to find that the code
references something that CF does not support -
"SendKeys" - this is per Microsoft's MSDN doc:
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnnetcomp/html/sdeforvb.asp

So back to the drawing board.
I think someone mentioned there might be such a control in
Microsoft's site - I could not locate it.
Another person said that there might be a custom control
in the VB reskit. I downloaded - but could not find it.
And I'm beginning to wonder - even if I did - if this
control would work under CF.

Does anyone have any additional suggestions. I would
really like to have this numeric only control (with
backspace and ability to enter a decimal).

Thank you.
 
Back
Top