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 > Events/Actions Post New Topic   Post A Reply
CTRL+A to add a new record printer friendly version
next newest post | next oldest post
Author Messages
jfribo
Private First Class

Gender: Male
Location: Florida
Registered: Oct 2007
Status: Offline
Posts: 10

Click here to see the profile for jfribo Send email to jfribo Find more posts by jfribo Edit or delete this message Reply w/Quote
Posted Thursday, September 16, 2010 @ 20:21:35  

Question: I would like to use the keyboard to execute a new record, onNewButtonClick, so if you hit ctrl+A it does the same as clicking on add new record. I don't want to change the quicktable source code, which I bought, so is there a way to send that event to the dataBaseChangeListener so it does the same thing? I didn't see a keylistener in quicktable so I really just want to use the keyboard.

PS; Sorry for the double post, I was in the wrong section before.

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 Tuesday, September 21, 2010 @ 21:39:07  

You can add a listener for ctrl+A and call dbTable. insertEmptyRecord()
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