• 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: customizing visual feedback in nstableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: customizing visual feedback in nstableview
      • From: "Mark's Studio" <email@hidden>
References: 
 >customizing visual feedback in nstableview (From: Francisco Tolmasky <email@hidden>)
 >Re: customizing visual feedback in nstableview (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: customizing visual feedback in nstableview
  • Next by Date: Re: XML property list: a quick question
  • Previous by thread: Re: customizing visual feedback in nstableview
  • Next by thread: Re: customizing visual feedback in nstableview
  • Index(es):
    • Date
    • Thread