Re: "Delete" icon as a menu item shortcut
Re: "Delete" icon as a menu item shortcut
- Subject: Re: "Delete" icon as a menu item shortcut
- From: Axel Andersson <email@hidden>
- Date: Sat, 4 Jan 2003 19:52:35 +0100
On Saturday, Jan 4, 2003, at 18:46 Europe/Stockholm, Fridiric BLANC
wrote:
>
It's still me Sorry & Thanks.
>
>
So, now, is there someone who knows how I can get the pretty backward
>
delete icon found on the "Delete" menu item in Apple Mail? I searched
>
everywhere in the docs w/o success. I only saw this isn't IB-based in
>
Apple Mail - and so seems to be set in PB. But I only need the String
>
constant to use as a parameter to the setKeyEquivalent() method.
>
Note: Yep, this is still for my Cocoa-Java-based app
unichar backspace;
backspace = NSBackspaceCharacter;
[deleteMenuItem setKeyEquivalent:[NSString
stringWithCharacters:&backspace length:1]];
Works for me.
Cheers,
Axel Andersson
_______________________________________________
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.