• 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: What is the best/simplest/proper way to make right mouse click "do" left mouse click as well in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the best/simplest/proper way to make right mouse click "do" left mouse click as well in NSTableView


  • Subject: Re: What is the best/simplest/proper way to make right mouse click "do" left mouse click as well in NSTableView
  • From: Andrei Tchijov <email@hidden>
  • Date: Fri, 9 Dec 2005 15:21:18 -0500

It a shame to subclass NSTableView just for this. Could it be done via delegate?

On Dec 9, 2005, at 3:13 PM, Nick Zitzmann wrote:


On Dec 9, 2005, at 12:43 PM, Andrei Tchijov wrote:

What I want is to make right mouse click always select row I am clicking on and then pop-up menu.

Subclass NSTableView and override -menuForEvent: so that it selects the row just before it returns the menu.

Nick Zitzmann
<http://www.chronosnet.com/>



_______________________________________________
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: What is the best/simplest/proper way to make right mouse click "do" left mouse click as well in NSTableView
      • From: Nick Zitzmann <email@hidden>
References: 
 >What is the best/simplest/proper way to make right mouse click "do" left mouse click as well in NSTableView (From: Andrei Tchijov <email@hidden>)
 >Re: What is the best/simplest/proper way to make right mouse click "do" left mouse click as well in NSTableView (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: How does the NSArrayController selection get set by a view?
  • Next by Date: Re: What is the best/simplest/proper way to make right mouse click "do" left mouse click as well in NSTableView
  • Previous by thread: Re: What is the best/simplest/proper way to make right mouse click "do" left mouse click as well in NSTableView
  • Next by thread: Re: What is the best/simplest/proper way to make right mouse click "do" left mouse click as well in NSTableView
  • Index(es):
    • Date
    • Thread