• 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
NSWindow makeFirstResponder bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWindow makeFirstResponder bug?


  • Subject: NSWindow makeFirstResponder bug?
  • From: John Woodward <email@hidden>
  • Date: Sun, 24 Mar 2002 13:18:38 -0500

I have a window for which I set different views as the main view. The code:

[mainWindow setViewAnimated: aView title:@"Whatever"];
[mainWindow makeFirstResponder:aComboBox];

aView is a view with multple NSComboBoxes and NSTextFields. The above code causes aComboBox to be selected when aView is first displayed. However, if the user tabs to another key view, and later the above lines are executed again, aComboBox is not selected; the makeFirstResponder has no effect when executed a second time. Am I missing something is is this a bug?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Re: Preventing the writing of the NSUserDefaults
  • Next by Date: Re: [ANN] My experiences with Apple
  • Previous by thread: OpenGL and Document-Based Cocoa app [A SOLUTION]
  • Next by thread: Re: NSWindow makeFirstResponder bug?
  • Index(es):
    • Date
    • Thread