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: Frédéric BLANC <email@hidden>
- Date: Sun, 5 Jan 2003 03:17:37 +0100
how I can get the pretty backward delete icon found on the "Delete"
menu item in Apple Mail?
unichar backspace = NSBackspaceCharacter;
[deleteMenuItem setKeyEquivalent:[NSString
stringWithCharacters:&backspace length:1]];
Works for me.
OK. Thanks. I'll try to translate this into Cocoa-Java and I'll tell
you if it'd work for me :) !
I've great doubts though since NSString doesn't exist in Cocoa-Java - I
have to rely on Sun's JDK, I think. And I have the same problem for
another question I've just posted (about localization which uses
another String method)
But, anyway, thanks for your answer,
- Fred
_______________________________________________
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.