drag and drop in same app
drag and drop in same app
- Subject: drag and drop in same app
- From: "LANCE GREENWOOD" <email@hidden>
- Date: Sun, 09 Nov 2003 19:45:55 -0700
I have a program with a window and a drawer that needs to do a drag-drop in
the same application. In the drawer is an NSMatrix of NSTextFields, each
one with a single letter in it (ex A, B, C,..). I have set each cell in the
matrix to selectable. In the Main window there is an NSTextField the user
can type one of the letters. I would like it so the user could drag one of
the letters from the matrix in the drawer up to the textfield in the main
window.
I can not find any docs or examples on doing this. "Building Cocoa
Applications" and "Cocoa programming for Mac OS X" only show examples of
doing it with sub-classed views.
Is it possible to do, and if so how?
thanks,
Lance
_________________________________________________________________
Concerned that messages may bounce because your Hotmail account is over
limit? Get Hotmail Extra Storage!
http://join.msn.com/?PAGE=features/es
_______________________________________________
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.