Re: How to remove extra contextual menu items
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.