• 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: How to remove extra contextual menu items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to remove extra contextual menu items


  • Subject: Re: How to remove extra contextual menu items
  • From: j o a r <email@hidden>
  • Date: Mon, 10 Mar 2003 15:43:36 +0100

Two questions:

Could this not be solved without subclassing? (that would be a bug IMO)
Would your proposed solution not also affect the contextual menu for other controls in the same window?

j o a r

On Monday, Mar 10, 2003, at 15:03 Europe/Stockholm, Stiphane Sudre wrote:

I might be saying something stupid but I suppose that this Contextual menu is attached to the Field Editor and in that case if you want to remove the menu, you may have to:
- subclass NSTextField, NSTextFieldCell
- in the NSTextFieldCell subclass implement the - (NSText *)setUpFieldEditorAttributes:(NSText *)textObj method to set the NSMenu * for the field editor.
_______________________________________________
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.

  • Follow-Ups:
    • Re: How to remove extra contextual menu items
      • From: Stéphane Sudre <email@hidden>
References: 
 >Re: How to remove extra contextual menu items (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: speech implemetation
  • Next by Date: NSTableView with scrollbars does not update correctly
  • Previous by thread: Re: How to remove extra contextual menu items
  • Next by thread: Re: How to remove extra contextual menu items
  • Index(es):
    • Date
    • Thread