Re: button title and modifier keys
Re: button title and modifier keys
- Subject: Re: button title and modifier keys
- From: matt neuburg <email@hidden>
- Date: Tue, 31 Dec 2002 10:39:26 -0800
On Mon, 30 Dec 2002 23:34:21 -0800, Eric Cole <email@hidden> said:
>
>
Is there a standard way to change the name of a button in
>
response to changes in the modifier keys. For instance, showing
>
a command key equivalent when the command key is down or
>
changing the title (and function) of a button when the option
>
key is down?
Yes. Read up on -[NSResponder flagsChanged:].
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.