• 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
NSBrowser dragging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBrowser dragging


  • Subject: NSBrowser dragging
  • From: Micha Fuhrmann <email@hidden>
  • Date: Fri, 07 May 2010 16:01:18 +0800

Hi everyone,

I've ran out of ideas, I just don't now what's wrong.

I have an NSBrowser Object.

I've set the delegate to another class which implements:

- (BOOL)browser:(NSBrowser *)browser canDragRowsWithIndexes:(NSIndexSet *)rowIndexes inColumn:(NSInteger)column withEvent:(NSEvent *)event


If I click-drag in the browser either right or left, the method is called. But if I click-drag up or down, it isn't. All that happens is the cells get selected. I've compared with the Apple example "ComplexBrowser", and i just cannot see any difference.

I'm lost here, any help appreciated.


Michael
_______________________________________________

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: NSBrowser dragging
      • From: Corbin Dunn <email@hidden>
    • Re: NSBrowser dragging
      • From: Jens Alfke <email@hidden>
  • Prev by Date: NSServerNotificationCenter Issues and Questions
  • Next by Date: Re: NSBox sizeToFit problem
  • Previous by thread: NSServerNotificationCenter Issues and Questions
  • Next by thread: Re: NSBrowser dragging
  • Index(es):
    • Date
    • Thread