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: Bill Cheeseman <email@hidden>
- Date: Mon, 11 Aug 2003 06:09:21 -0400
on 03-08-10 9:06 PM, Seth Willits at email@hidden wrote:
>
> [[_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!
Every drawer has an associated window, though you normally don't need to
refer to it. It is sometimes useful to do so, but Apple engineers have
warned that it might cause you trouble in future versions of the Mac OS if
Apple implements drawers differently.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
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.