• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView - preventing user moving with mouse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSTableView - preventing user moving with mouse
      • From: Kyle Sluder <email@hidden>
References: 
 >NSTableView - preventing user moving with mouse (From: Peter Hudson <email@hidden>)

  • Prev by Date: NSTableView - preventing user moving with mouse
  • Next by Date: Re: NSTableView - preventing user moving with mouse
  • Previous by thread: NSTableView - preventing user moving with mouse
  • Next by thread: Re: NSTableView - preventing user moving with mouse
  • Index(es):
    • Date
    • Thread