• 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: Contextual menu for Text fields/views?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Contextual menu for Text fields/views?


  • Subject: Re: Contextual menu for Text fields/views?
  • From: Seth Willits <email@hidden>
  • Date: Sun, 19 Dec 2004 12:45:35 -0800

On Dec 19, 2004, at 12:39 PM, Thomas Lachand-Robert wrote:

There is a default contextual menu for all text views, and also for text field (though I suspect it is the field editor's menu), with items like cut/copy/spell etc.

What is the way to add some items to this contextual menu?

Also is it possible to have a contextual menu in NSBox? Doing so in IB (connecting the "menu" outlet) doesn't work in either case.

If you set the menu (setMenu or just use the outlet) of any view, it'll use that menu as the contextual menu.




Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic


Friendship is a beautiful thing. "The best and most beautiful things in the
world cannot be seen or even touched - they must be felt with the heart."
-- Hellen Keller
------------------------------------------------------------------------ ---


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Contextual menu for Text fields/views?
      • From: Thomas Lachand-Robert <email@hidden>
References: 
 >Contextual menu for Text fields/views? (From: Thomas Lachand-Robert <email@hidden>)

  • Prev by Date: Contextual menu for Text fields/views?
  • Next by Date: Re: How to display a Menu for a popup button?
  • Previous by thread: Contextual menu for Text fields/views?
  • Next by thread: Re: Contextual menu for Text fields/views?
  • Index(es):
    • Date
    • Thread