• 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: NSOutlineView: prevent item to expand on drag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView: prevent item to expand on drag


  • Subject: Re: NSOutlineView: prevent item to expand on drag
  • From: Allan Odgaard <email@hidden>
  • Date: Wed, 15 Sep 2004 15:19:13 +0200

On 15. Sep 2004, at 14:31, Fabien Conus wrote:

When dragging something in a NSOutlineView, the items will
automatically expand when you spend some time on them.

How can I prevent that ?

You do know that this is actually a feature, right? ;)

Anyway, try to implement the outlineView:shouldExpandItem: delegate method to prevent expansion during drag'n'drop -- I haven't tested if it works though (there's probably a good chance it won't work, but it's worth a shot).
--
http://macromates.com/ ::: TextMate, OS X text editor
http://macromates.com/sigpipe/ ::: Personal weblog about programming


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSOutlineView: prevent item to expand on drag
      • From: Fabien Conus <email@hidden>
References: 
 >NSOutlineView: prevent item to expand on drag (From: Fabien Conus <email@hidden>)

  • Prev by Date: NSOutlineView: prevent item to expand on drag
  • Next by Date: Re: NSUndoManager in non-document based app using bindings
  • Previous by thread: NSOutlineView: prevent item to expand on drag
  • Next by thread: Re: NSOutlineView: prevent item to expand on drag
  • Index(es):
    • Date
    • Thread