Re: NSTableView - preventing user moving with mouse
Re: NSTableView - preventing user moving with mouse
- Subject: Re: NSTableView - preventing user moving with mouse
- From: Richard Somers <email@hidden>
- Date: Mon, 21 Nov 2011 07:45:50 -0700
On Nov 21, 2011, at 5:11 AM, Peter Hudson wrote:
> I have an NSTableView whose position I want to control purely programatically.
>
> How do I stop the user from changing its position using the mouse - including two finger swipe gestures ?
The position of the NSTableView is set with -initWithFrame: along with all of the various frame methods. Column adjustment is controlled with -setAllowsColumnReordering: and -setAllowsColumnResizing:.
--Richard
_______________________________________________
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