Using a keyboard to push a button
Using a keyboard to push a button
- Subject: Using a keyboard to push a button
- From: Benjamin Navarro <email@hidden>
- Date: Wed, 5 May 2010 12:46:04 +0200
Hi, I've just realized my first graphic application in Cocoa. It works great, there are 3 textField and 2 static text and when I push a button, the program calculate the two values to put in the static texts using the text fields.
My problem is that I have no idea how can I use the "Enter" keyboard key to press the button (make a kind of shortcut).
Thanks_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden