• 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: Clear or delete?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clear or delete?


  • Subject: Re: Clear or delete?
  • From: Thomas Lachand-Robert <email@hidden>
  • Date: Fri, 28 Dec 2001 23:33:12 +0100

Le vendredi 28 dicembre 2001, ` 11:12 , Dan Wood a icrit :


On Friday, December 28, 2001, at 12:55 PM, Thomas Lachand-Robert wrote:

Moreover this menu item is connected to an action "clear:" for the first responder. I did implement this action in the main controller of my window,
which is also the delegate of an outline view. So if I use this menu while the outline view is selected, the corresponding rows are removed by my action. However, if I just type the delete key, I just get a beep.



Not only that, but the default IB connection is "clear:" as you say, but the text widgets expect to respond to "delete:" instead.

I've already filed that with Apple as a bug.

What I did in my application, to make things consistent, was to implement "delete:" and change the menu to send "delete:" to the first responder, so that both text and my other items (such as selected rows in a table) will respond to the same action.


Thanks, I did that too. But I still get a beep when I use the delete key in the OutlineView. Is there something more to do?



Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.


References: 
 >Re: Clear or delete? (From: Dan Wood <email@hidden>)

  • Prev by Date: [ANN] CURLHandle 1.2 now available
  • Next by Date: Re: Running a regular expression on an NSString
  • Previous by thread: Re: Clear or delete?
  • Next by thread: contextInfo ?
  • Index(es):
    • Date
    • Thread