• 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
drag and drop in same app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: drag and drop in same app
      • From: Henry McGilton <email@hidden>
  • Prev by Date: Re: NSArrayController population
  • Next by Date: Re: NSView subclass bindings? NSTextView?
  • Previous by thread: Re: NSView subclass bindings? NSTextView?
  • Next by thread: Re: drag and drop in same app
  • Index(es):
    • Date
    • Thread