• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: send an Action without a button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >send an Action without a button (From: Andrea Salomoni <email@hidden>)

  • Prev by Date: Re: Best way to implement performant Interprocess Communication
  • Next by Date: Re: Using Zip executable in Cocoa Application
  • Previous by thread: Re: send an Action without a button
  • Next by thread: Web Search results into Table
  • Index(es):
    • Date
    • Thread