Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable Keyboard

Status
Not open for further replies.

lumstar

Technical User
Jan 29, 2002
177
CA
Hey guys,
Little problem: I have an input text box that i fill not from the keyboard, but by clicking on buttons. This part of the clip simulates an ATM keypad. I am using an input text box so that I have a cursor. Is there any way that I can disable the keyboard so that the input text box has the cursor, but text can only be entered using the keypad buttons? If this is not clear and understandable, please post and I will clarify. Thanks in advance

Lumstar
______________________________________
And The Star Continues To Shine....
 
something like

myListener = new Object();
myListener.onKeyDown = function () {
//trace("key pressed");
}
Key.addListener(myListener);

 
Yeah!
That was perfect. Thanks a lot!

Lumstar
______________________________________
And The Star Continues To Shine....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top