• 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 a custom subview inside a NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drag a custom subview inside a NSTableView


  • Subject: Drag a custom subview inside a NSTableView
  • From: ""Jose A. Guerrero-Colón"" <email@hidden>
  • Date: Fri, 23 Jan 2009 13:33:52 +0100

Hello List,

I have a problem with a single column NSTableView. I populate the rows with my custom cell (a view that includes NSProgress Indicator and textfields).
The point is that I cannot get to work the drag thing. I've been searching on the web and all I found was related to "regular" cells typically used by NSTableView. (TextFields, and so on)


I tried to find a work arround by:

a) Capturing the mouse events into the subview. This worked just fine, but only for the mouseDown event. For the mouseDragged, I could not get it to work... It seems like TableView is cutting this event to the subview.

b) Capturing the mouse events in the NSTableview. I fail too :(. I tried to subclass the scroll, the tableColumn with no success...)

Anybody have an idea about this????


Thank you very much in advance!!!

Best,
Jose




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Using the security framework
  • Next by Date: Re: Problem assigning image to button under garbage collection
  • Previous by thread: CALayer scaling issue
  • Next by thread: Core Plot open source plotting framework
  • Index(es):
    • Date
    • Thread