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

catching mouseDown in NSTableView


  • Subject: catching mouseDown in NSTableView
  • From: "Jeff Schindler" <email@hidden>
  • Date: Tue, 1 Feb 2005 14:42:49 -0500

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.
 _______________________________________________
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

  • Follow-Ups:
    • Re: catching mouseDown in NSTableView
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Re: + initialize docs conflict?
  • Next by Date: Re: + initialize docs conflict?
  • Previous by thread: Re: Secondary Window Content
  • Next by thread: Re: catching mouseDown in NSTableView
  • Index(es):
    • Date
    • Thread