• 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: Button IB action on rename
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Button IB action on rename


  • Subject: Re: Button IB action on rename
  • From: matt neuburg <email@hidden>
  • Date: Tue, 22 Jul 2003 10:54:50 -0700

On Mon, 21 Jul 2003 23:50:30 -0500, Mark Flider <email@hidden> said:
>I set up a regular NSButton's action to invoke an IBAction from
>Interface Builder (I click, the IBAction performs, everything normal).
>However, I would like to change the name of my button (like the
>top-left button in Property List Editor) dynamically. However, once I
>change the name with [myNSButton setTitle:newTitle], the action no
>longer performs on click.

Does your action code check against [sender title] to identify the sender?
If so, there's the problem. m.

--------
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: RE: unimplemented methods
  • Next by Date: Re: drawing views to images
  • Previous by thread: Button IB action on rename
  • Next by thread: Re: Button IB action on rename
  • Index(es):
    • Date
    • Thread