• 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: Return and Enter keys in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Return and Enter keys in NSTextView


  • Subject: Re: Return and Enter keys in NSTextView
  • From: "Erik M. Buck" <email@hidden>
  • Date: Thu, 30 Aug 2001 11:16:05 -0500

> Second:
> This is the more interesting problem. To send a private message to a
> single user, I have a small window with a NSTextView and a send button.
> Since these messages will be somewhat larger, I want to let the user add
> newlines with the return key. When using a standard textview, the user
> needs to move his hands to the mouse to press the send button, since the
> active textview would not let a return/enter press trigger the default
> button.
>
> This is fairly annoying, so I am trying to provide a shortcut where the
> user can press return to get a newline, and enter to trigger the send
> button.
>


Why not have a menu item with a quick key to send the text ? The user can
use the "Send Private Message" menu or keep hands on the keyboard and use
the quick key.


References: 
 >Re: Return and Enter keys in NSTextView (From: Richard Schreyer <email@hidden>)

  • Prev by Date: Re: NSCursor and 1 bit mask ?
  • Next by Date: Re: Pattern for plugins, archiving, and dynamic document data model?
  • Previous by thread: Re: Return and Enter keys in NSTextView
  • Next by thread: RE: Return and Enter keys in NSTextView
  • Index(es):
    • Date
    • Thread