Re: customizing visual feedback in nstableview
Re: customizing visual feedback in nstableview
- Subject: Re: customizing visual feedback in nstableview
- From: Scott Anguish <email@hidden>
- Date: Thu, 18 Mar 2004 16:53:19 -0500
On Mar 18, 2004, at 4:40 PM, Francisco Tolmasky wrote:
Let me restate what I'm trying to do. Try dropping some vcards onto
addressbook. No specific cell is highlighted, and no line is drawn
inbetween any, instead, since it is sorted, one big black box is drawn
around the entire table view, which is what I want.
Well, to be able to retarget to a specic item (so that it would go into
an item....)
- (void)setDropRow:(int)row
dropOperation:(NSTableViewDropOperation)operation
Used if you wish to retarget the proposed drop. To specify a drop on
the second row, one would specify row as 2, and operation as
NSTableViewDropOn. To specify a drop below the last row, one would
specify row as [tv numberOfRows] and operation as NSTableViewDropAbove.
if you want the entire table view to highlight, in the past I've
actually implemented the drag and drop on the scrollview that contains
the tableview.
_______________________________________________
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.