Re: moving a dictionary in a TableView
Re: moving a dictionary in a TableView
- Subject: Re: moving a dictionary in a TableView
- From: Scott Anguish <email@hidden>
- Date: Thu, 23 Oct 2003 01:13:59 -0400
have a look at the NSOutlineView example DragNDropOutlineView
specifically... you don't have to write anything to the pasteboard if
the drag is going to be within the application.. just stick the
selected objects into a variable, and then access that variable when
the drag completes (remembering to nil out the variable afterwards).
as long as the drag hasn't ended, it's not likely that another drag can
be started by someone else.. (one cursor and all)
you should probably write something to the pasteboard that will be
useful to an external app if the target is elsewhere.. but its not
required.
On Oct 23, 2003, at 12:34 AM, April Gendill wrote:
I am using an array of Dictionary objects to populate a tableview.
The tableview only has two columns and getting the information into
the view is not an issue it works great. What I cannot manage to do is
allow in table drag and drop. I don't know what I'm suppose to be
doing in the write to pasteboard.
setdata doesn't seem to work, and setpropertylist does not seem to
work either. So exactly what should I be trying to write to the
pasteboard?
April.
_______________________________________________
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.
_______________________________________________
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.