Re: customizing visual feedback in nstableview
Re: customizing visual feedback in nstableview
- Subject: Re: customizing visual feedback in nstableview
- From: mmalcolm crawford <email@hidden>
- Date: Thu, 18 Mar 2004 13:58:55 -0800
On Mar 18, 2004, at 11:51 AM, Allan Odgaard wrote:
Is it possible to override the default visual feedback for dropping
objects onto table views? I would like it to become highlighted
instead of drawing a black line inbetween cells, since this does not
make sense with a sorted table view.
You can use setDropRow:dropOperation: to re-target the drop position.
You should then re-target it to where it fits into the sorted list.
That doesn't actually change the visual feedback.
There is a private method (so I'd recommend that you don't use it in a
shipping application):
- (void) _drawDropHighlightBetweenUpperRow: (int) parameter1
andLowerRow: (int) parameter2 atOffset: (float) parameter3;
If it is something you could usefully employ, send an enhancement
request.
mmalc
_______________________________________________
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.