I have an Input control that is to inputType = numbers only. I want to use the arrows only, and prevent direct entry of keyboard data into the control. Usually (in C++ or Delphi), I can use the OnGetKeyPress event to stuff a key code of "0" to nullify the keyboard entry, and still preserve the up/down arrow function.
I tried this: event.keyCode = 0;
Which doesn't work. Is there a way to accomplish this?
Thanks!
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (1) |