simulating <enter> in a text field by pressing a button
simulating <enter> in a text field by pressing a button
- Subject: simulating <enter> in a text field by pressing a button
- From: Joel Reymont <email@hidden>
- Date: Wed, 02 Jan 2013 22:03:29 +0100
I have a dialog (sheet) with a single text field and a button.
I'm using Cocoa Bindings to validate the value in the text field and
set a string field in the File's Owner.
This works fine but I would like to trigger the same sequence of
events when pressing the button. How do I do this?
Thanks, Joel
--------------------------------------------------------------------------
for hire: mac osx device driver ninja. kernel, usb and coreaudio drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------
_______________________________________________
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