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 8077915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:37:39+00:00 2026-06-05T15:37:39+00:00

I try to do some treatment when a NSComboBox looses first responder status, and

  • 0

I try to do some treatment when a NSComboBox looses first responder status, and hence gets “resignFirstResponder”, however my treatment should happen only when the combobox really loose the first responder status, not when the internal NSTextView used to implement the text of the combobox itself gets the first responder status.

Is there an official way to detect that the first responder status went from the NSComboBox to its inner NSTextView?
Can I get a pointer to that NSTextView? and maybe set its delegate?

Regards

  • 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-05T15:37:40+00:00Added an answer on June 5, 2026 at 3:37 pm

    In fact, there is no “inner NSTextView”, there is one such NSTextView per NSWindow, which gets reparented to the editing control (text, combobox) which needs it at will, this is the so called “field editor”. There is a possibility to override it by the way with windowWillReturnFieldEditor in NSWindow delegate.

    The actual answer is that we can detect becomeFirstResponder on the combo and then textDidEndEditing.

    Reference: “Working With the Field Editor” in “Text editing programming guide” in Apple developer documentation.

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

Sidebar

Related Questions

I try to create some li elements in my XUL Application. Theres only the
i have try some command like system(reboot) exec(reboot) and system(/ect/init.d/networking restart); but not happen
We have following code: try { // some code throwing MyException } catch (MyException
I read Japanese, and want to try processing some Japanese text. I tried this
I try to draw some lines with different colors. This code tries to draw
I try to put some HTML link behind input text and I try to
i try to send some data to my php file from ajax , but
I try to have some inheritance with attributeBindings between two View. (function(exports) { Ember.MobileBaseView
I try to get some insights from the pages I am administrator on Facebook.
I try to collect some information about the current state of the CWInterface(connected bssid,

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.