• 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
Re: catching mouseDown in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: catching mouseDown in NSTableView


  • Subject: Re: catching mouseDown in NSTableView
  • From: Stéphane Sudre <email@hidden>
  • Date: Tue, 1 Feb 2005 21:25:35 +0100


On mardi, février 1, 2005, at 08:42 PM, Jeff Schindler wrote:

I need to check conditions before allowing a user to make a new selection in an NSTableView, displaying a sheet to confirm that the user wants to change the selection.  Problem is when I display this sheet during either tableView:shouldSelectRow: or in the mouseDown of an NSTableView subclass and continue on after the sheet has been dismissed, the event loop appears to get screwed up.  I have to do an extra mouse click in order for the selection change to take place and other events like key events don't seem to respond correctly after that.  Any ideas as to why a modal sheet might cause this problem?  And is there a way around it?  My only other option is to re-write the selection code for the NSTableView, which I'd rather not do.  Thanks.

File a bug report. It's already been filed but it will increase Apple's awareness of the situation.




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >catching mouseDown in NSTableView (From: "Jeff Schindler" <email@hidden>)

  • Prev by Date: Re: Secondary Window Content
  • Next by Date: Re: mouseDown/Up on window's titlebar?
  • Previous by thread: catching mouseDown in NSTableView
  • Next by thread: How to re-check "Conditionally sets editable" on a tablecolumn?
  • Index(es):
    • Date
    • Thread