• 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: catching an option-return
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: catching an option-return


  • Subject: Re: catching an option-return
  • From: "David P. Henderson" <email@hidden>
  • Date: Wed, 18 Jul 2001 00:32:51 -0400

On Wednesday, July 18, 2001, at 12:22 , Dan Watson wrote:

> I have an NSTextField that sends its action only on enter.
> unfortunately, it
> does not send it's action on an option-return, and I need to see if the
> option key is down when return is hit. anyone know a workaround?
>
option-return is how you insert a return character into a text field.
option-tab is how you insert a tab into a text field. option + somekey
is in many instances away of inserting a character into a text field
which might otherwise cause a different action.

Dave
--
Chaos Assembly Werks
"The proper office of a friend is to side with you when you are in the
wrong. Nearly anybody will side with you when you are in the right."
- Mark Twain


References: 
 >catching an option-return (From: Dan Watson <email@hidden>)

  • Prev by Date: Re: NSApplication Quit bug; Another Form of it. Learning Cocoa sample shows related bug.
  • Next by Date: Re: Collection of Cocoa & objc questions from a "newbie"
  • Previous by thread: catching an option-return
  • Next by thread: Re: catching an option-return
  • Index(es):
    • Date
    • Thread