craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > General QuickTable Support/Help Post New Topic   Post A Reply
Can I disable find event for the table' printer friendly version
next newest post | next oldest post
Author Messages
m.martos
Private

Gender: Unspecified
Location:
Registered: Dec 2007
Status: Offline
Posts: 1

Click here to see the profile for m.martos Send email to m.martos Send private message to m.martos Find more posts by m.martos Edit or delete this message Reply w/Quote
Posted Tuesday, December 4, 2007 @ 07:26:48  

I want to disable 'F3' key in a table? What's the way to do this?

thanks in advance.

Admin
Board Owner

Gender: Unspecified
Location:
Registered: Jul 2003
Status: Offline
Posts: 9

Click here to see the profile for Admin Send email to Admin Send private message to Admin Find more posts by Admin Edit or delete this message Reply w/Quote
Posted Friday, December 14, 2007 @ 06:17:11  

Just register an empty event or any other event you want for F3

KeyStroke findNext = KeyStroke.getKeyStroke(KeyEvent.VK_F3,0);
dbTable.registerKeyboardAction(new ActionListener() {
public void actionPerformed(ActionEvent e) {
//empty
}
},"findNext",findNext,,JComponent.WHEN_IN_FOCUSED_WINDOW);

Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios