• 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: Delete Icon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delete Icon


  • Subject: Re: Delete Icon
  • From: James DiPalma <email@hidden>
  • Date: Tue, 14 Jan 2003 10:52:31 -0800

how I can get the pretty backward delete icon found on the "Delete" menu item in Apple Mail?

Try unicode character 0x232B ("Erase to the Left")

I use 010:

[menuItem setKeyEquivalent:@"\010"];
[menuItem setKeyEquivalentModifierMask:0];

You should be able to set a menu item's key equivalent to "Delete" in IB, but it doesn't seem to unarchive correctly. IB also does not allow setting non-Cmd key equivalents, so you will at least need setKeyEquivalentModifierMask:


-jim
_______________________________________________
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.

References: 
 >Re: Delete Icon (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: Bottom part of the Interface Builder size inspector and window
  • Next by Date: Re: Easy way to truncate floats?
  • Previous by thread: Re: Delete Icon
  • Next by thread: XML MIME & OS Types
  • Index(es):
    • Date
    • Thread