Setting focus to text field in drawer
Setting focus to text field in drawer
- Subject: Setting focus to text field in drawer
- From: Arthur Clemens <email@hidden>
- Date: Sun, 10 Aug 2003 17:50:46 +0200
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.
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.