Re: How to allow files drag from a tableView to the Finder ?
Re: How to allow files drag from a tableView to the Finder ?
- Subject: Re: How to allow files drag from a tableView to the Finder ?
- From: Bill Bumgarner <email@hidden>
- Date: Fri, 3 May 2002 15:23:12 -0400
You need to use an NSFilenamePboardType (or NSFilenamesPboardType), not
NSUrlPboardType.
I.e. something like the following, assuming the paths variable is an
NSArray full of NSStrings, each NSString being a path to an individual
file.
[pboard declareTypes:[NSArray arrayWithObject:NSFilenamesPboardType]
owner:self];
[pboard setPropertyList:paths forType: NSFilenamesPboardType];
When dragging files out of a TableView, I have sometimes found it to be
more intuitive to have a DragWell from which the dragging starts. Some
users are confused about the concept of a dragging out of a TableView
unless there is a column that contains icons.
b.bum
On Friday, May 3, 2002, at 03:06 PM, email@hidden
wrote:
Date: Fri, 3 May 2002 20:31:20 +0200
Subject: How to allow files drag from a tableView to the Finder ?
From: =?ISO-8859-1?Q?Quentin_Math=E9?= <email@hidden>
To: email@hidden
b.bum
....lying there snoring,
breath smelling like a 1948 buick.
_______________________________________________
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.