• 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 title and modifier keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Dynamic color changes in a text view
  • Next by Date: Re: Custom sheets without going application modal?
  • Previous by thread: button title and modifier keys
  • Next by thread: keep scrollbar knob at bottom?
  • Index(es):
    • Date
    • Thread