• 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: Dragging from NSTableView...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dragging from NSTableView...


  • Subject: Re: Dragging from NSTableView...
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 14 Nov 2001 20:28:50 +0100

On mercredi, novembre 14, 2001, at 08:09 PM, Bell, Carl wrote:


I suppose I've missed something. Is there other setup type stuff that
I need to do, similar to registerForDraggedTypes:? My app can drag
from an NSTextView (in the same window as my NSTableView) to other apps
just fine.

I added this to my code (after someone told me to):

@interface MYTableView : NSTableView {

}

@end

@implementation MYTableView

- (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)isLocal
{
if (isLocal) return NSDragOperationEvery;
else return NSDragOperationCopy;
}

@end

and changed the class in the .nib.


  • Prev by Date: Dragging from NSTableView...
  • Next by Date: RE: Dragging from NSTableView...
  • Previous by thread: Dragging from NSTableView...
  • Next by thread: RE: Dragging from NSTableView...
  • Index(es):
    • Date
    • Thread