Joy
Joy

Reputation: 1639

Changing SIP to Numeric Mode

I have a Windows Mobile Desktop Application that have some text fields which will only accept numeric values. I need to activate the number keys on the phone when those text boxes has the focus.

I'm not being able to find any solution on that. Pls help

Upvotes: 0

Views: 715

Answers (2)

R Quijano
R Quijano

Reputation: 1301

You could also try this

InputModeEditor.SetInputMode(textBox, InputMode.Numeric);

Upvotes: 0

ctacke
ctacke

Reputation: 67178

Daniel Moth has an example of switching the SIP to numeric mode (in C#, you didn't note your language choice) on his blog.

Upvotes: 1

Related Questions