Re: Ask for NSTextField
Re: Ask for NSTextField
- Subject: Re: Ask for NSTextField
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 21 May 2009 21:57:30 -0600
On May 21, 2009, at 12:58 AM, star red wrote:
When a user presses a right mouse button on the NSTextField, a
context menu
will appear.
I want that a context menu will not appear at this time.
Why? That's really non-standard.
How can ?
The first thing I'd try is setting the text field's menu to nil. If
that doesn't work, then subclass NSTextField and override -
menuForEvent: to return nil.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden