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: Mon, 11 Aug 2003 00:17:38 +0200
On zondag, augustus 10, 2003, at 11:42 PM, Seth Willits wrote:
>
On Sunday, August 10, 2003, at 02:19 PM, Arthur Clemens wrote:
>
>
>> What about making the drawer the key window?
>
>
>
> How?
>
>
Err... Hmm... come to think of it, how are you setting the field to
>
first responder?
>
In a method in AppController I use:
[_mainWindow makeFirstResponder:_searchField];
where _mainWIndow is the window of the AppController, and _searchField
is the text field of the drawer and by connecting it with IB also a
(IBOutlet) data member of AppController.
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.