• 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: Seth Willits <email@hidden>
  • Date: Sun, 10 Aug 2003 18:06:18 -0700

On Sunday, August 10, 2003, at 05:53 PM, publiclook wrote:

How about

[[_searchField window] makeKeyAndOrderFront:nil];

Will that work? I suppose it might, but since NSDrawer isn't a window I figured you couldn't do it that way. Cool if it works!


Also, Apple reserves all variable names that start with just one underscore and don't have a unique prefix. I suggest

_xxSearchField where xx is an two characters appropriate to your application.

I didn't know that. I've been using them all over since I saw in another project. I thought it was used to keep your variables from colliding with message names or something.


Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine - http://www.rbdeveloper.com
Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames

"To be a great is to be misunderstood."
-- Ralph Waldo Emmerson
------------------------------------------------------------------------ ---
_______________________________________________
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: Bill Cheeseman <email@hidden>
    • Re: Setting focus to text field in drawer
      • From: "Alastair J.Houghton" <email@hidden>
    • Re: Setting focus to text field in drawer
      • From: publiclook <email@hidden>
References: 
 >Re: Setting focus to text field in drawer (From: publiclook <email@hidden>)

  • Prev by Date: Re: Question regarding menus and document based app.
  • Next by Date: Re: Setting focus to text field in drawer
  • 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