Re: menu outlet in IB doesn't work for some views/controls?
Re: menu outlet in IB doesn't work for some views/controls?
- Subject: Re: menu outlet in IB doesn't work for some views/controls?
- From: Jim Correia <email@hidden>
- Date: Fri, 31 Jan 2003 22:03:57 -0500
On Friday, January 31, 2003, at 06:51 PM, Amul Goswamy wrote:
To trigger the contextual menu on an NSBox, you need to control-click
the visible border or the title. For NSTableViews, NSTextViews,
NSBrowserViews and NSOutlineViews you also need to control click the
outer edge of the view because other areas of the view (scrollbars
etc.) will steal the click.
I figured that out (stealing the click) after I posted. I attached my
context menu to the content view of the NSBox in awakeFromNib and that
solves the problem.
What other widgets are you having trouble with?
Mainly the ones you mentioned are the ones I tried.
Thanks,
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.