Sorry for the previous unfinished message.

I dont think there is an automatic way to have it (except for menu items), but you can have a look at the flagsChanged: method of NSResponder.


Le 1 avr. 08 à 17:24, Gerriet M. Denkmann a écrit :
The FindPanel in TextEdit has in the bottom left corner a button "Replace All" which changes to "In Selection" when the ⌥-key is pressed.

How is this done? I want to have such a changing button in some of my own panels.

Kind regards,

Gerriet.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/devlists%40shadowlab.org

This email sent to [EMAIL PROTECTED]


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to