• 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: 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.


References: 
 >customizing visual feedback in nstableview (From: Francisco Tolmasky <email@hidden>)
 >Re: customizing visual feedback in nstableview (From: Allan Odgaard <email@hidden>)
 >Re: customizing visual feedback in nstableview (From: Scott Anguish <email@hidden>)
 >Re: customizing visual feedback in nstableview (From: Francisco Tolmasky <email@hidden>)

  • Prev by Date: Re: Nib files checked out of Subversion are read-only
  • Next by Date: NSView setHidden vs. setTransparent
  • Previous by thread: Re: customizing visual feedback in nstableview
  • Next by thread: Re: customizing visual feedback in nstableview
  • Index(es):
    • Date
    • Thread