Re: send an Action without a button
Re: send an Action without a button
- Subject: Re: send an Action without a button
- From: Pablo Pons Bordes <email@hidden>
- Date: Sat, 17 Dec 2005 12:38:45 +0000
The only thing you have to do is make a ctrl-drag from the text field
to your appilcation controller, and on the target/action Tab select
the action you want (on the bluetooth example, you can see that, the
call to the "- (IBAction)chatActionOnMessageTextField:(id)sender")
good luck
El 16/12/2005, a las 10:47, Andrea Salomoni escribió:
Hi to all,
I need to send an action without using a button in interface builder.
I have a NSTextField and I would like to send the action when the
return key is pressed...
I know how to set it in IB using a button... but really don't know
how to do it without the NSButoon!
Thank you all
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden