Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8224437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T15:04:20+00:00 2026-06-07T15:04:20+00:00

For example when I click on the red dot below: I want the following

  • 0

For example when I click on the red dot below:

before

I want the following deselection to occur:

enter image description here

I set up the view-based NSOutlineView using bindings for both the data source and the selection indexes. So far i’ve tried to override the TableCellView becomeFirstResponder and also override NSOutlineView’s becomeFirstResponder however it seems NSOutlineView never actually gives up first responder status?

Some advice would be very much appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T15:04:23+00:00Added an answer on June 7, 2026 at 3:04 pm

    I found this post on the topic. The solution appears to be in creating a subclass of NSOutlineView and overriding mouseDown: so that you can determine whether the click was on a row or not. When the click is on a row you just dispatch to super. If it’s not you send deselectAll: to your NSOutlineView.

    I haven’t tried it myself but there are various posts around which come up with comparable code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

about click and submit example below: <form action=url method=post> <input type=text id=input1/> <input type=submit
Here’s an example. This is Google menu. When you click on the gear-wheel (red
I have the following code to perform validation of SubmitForm shown below on click
<div class=example> Test </div> $('.example').click(function(){ $(this).css('color','red'); }); When the code above get's clicked, it
$('.example').hover( function () { $(this).css('background','red'); }, function () { $(this).css('background','yellow'); } ); $('.test').click(function(){ $(this).css('marginTop','+=20px').removeClass('example');
jsfiddle with example Click a county name to see it's crest appear. I am
Javascript jQuery event handling If on event (for example 'click') bound one function for
Can hover and click functions be combined into one, so for example: click: $('#target').click(function()
Lets say for example: $(.button).click(function() { $.post(commandrunner.php, { param1: 'value', param2: 'value2', param3: 'value3'
i can reference link with specific id with following code $(document).ready(function(){ $(a#example_link_id).click(function(event){ var url

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.