Re: Clear or delete?
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.