[nsb-appstudio] Prevent direct entry into an Input control

6 views
Skip to first unread message

scrammacat@yahoo.com [nsbasic-app]

unread,
Apr 10, 2017, 4:36:26 PM4/10/17
to nsbas...@yahoogroups.com
 

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!

 

__._,_.___

Posted by: scram...@yahoo.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___
Reply all
Reply to author
Forward
0 new messages