How to remove extra contextual menu items
How to remove extra contextual menu items
- Subject: How to remove extra contextual menu items
- From: j o a r <email@hidden>
- Date: Mon, 10 Mar 2003 13:50:04 +0100
Hej,
When using a NSTextField you get two contextual menu items for free:
"Ignore Spelling" and "Learn Spelling". I would very much like to be
able to remove them, since they aren't applicable for a lot of text
fields in our application. Any one knows how to do that?
I have tried to provide a contextual menu by using "-setMenu:",
"+defaultMenu" and "-menuForEvent:" on the text fields in question (and
via custom subclasses). I have also tried to provide a custom field
editor and set "setContinuousSpellCheckingEnabled:" to NO.
No luck so far.
j o a r
_______________________________________________
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.