Re: Setting focus to text field in drawer
Re: Setting focus to text field in drawer
- Subject: Re: Setting focus to text field in drawer
- From: Arthur Clemens <email@hidden>
- Date: Sun, 10 Aug 2003 23:19:09 +0200
On zondag, augustus 10, 2003, at 10:20 PM, Seth Willits wrote:
On Sunday, August 10, 2003, at 09:33 AM, Arthur Clemens wrote:
I searched the archives and docs, but cannot find an answer to my
problem:
I have a main window with a NSTextView, and an attached NSDrawer with
a
search text field in it.
From the text view, I want to set focus to the search field using a
keyboard shortcut.
My search text field does become first responder, but no focus ring is
drawn and typing does not work; the field editor apparently does not
become first responder. The text view in the main window fires a
resignFirstResponder:.
It all works if I click into the search text field, but I cannot make
it work programmatically. Obviously I am missing something.
What about making the drawer the key window?
How?
Arthur Clemens
_______________________________________________
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.