• 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
Re: Setting focus to text field in drawer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Setting focus to text field in drawer
      • From: publiclook <email@hidden>
References: 
 >Re: Setting focus to text field in drawer (From: Seth Willits <email@hidden>)

  • Prev by Date: Accessing System Preferences?
  • Next by Date: Re: ImageInTableview
  • Previous by thread: Re: Setting focus to text field in drawer
  • Next by thread: Re: Setting focus to text field in drawer
  • Index(es):
    • Date
    • Thread