Re: Button IB action on rename
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.