Re: Dragging Methods for NSOutlineView
Re: Dragging Methods for NSOutlineView
- Subject: Re: Dragging Methods for NSOutlineView
- From: Pete Yandell <email@hidden>
- Date: Fri, 30 May 2003 10:58:50 +1000
On Friday, May 30, 2003, at 01:29 AM, Craig Bakalian wrote:
What would stop a dragging method from firing in a NSOutlineView or
what am I not doing to cause it to fire? This is in my data source:
-(BOOL)outlineView: (NSOutlineView *)olv writeItems: (NSArray *)items
toPasteBoard: (NSPasteboard *)pboard
That should be toPasteboard:, not toPasteBoard:
It that's not the issue, then there are a couple of other possibilities:
By default you have to begin a drag by dragging horizontally; a
vertical drag will cause multiple selection. The
setVerticalMotionCanBeginDrag: changes this behaviour.
You can only drag from the column that's marked with
setOutlineTableColumn: which is the first column by default.
Pete Yandell
http://pete.yandell.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.