Re: Open sheet for new window
Re: Open sheet for new window
- Subject: Re: Open sheet for new window
- From: Ivan Myrvold <email@hidden>
- Date: Fri, 9 Aug 2002 07:55:47 +0200
That worked perfectly. Thanks!
Ivan
Pe fredag, 9. august 2002, kl. 02:55, skrev Jim Balhoff:See this message
from Markus Hitter at mamasam:
http://cocoa.mamasam.com/MACOSXDEV/2002/01/2/22841.php
It fixed this problem for me.
Regards,
Jim Balhoff
On Thursday, August 8, 2002, at 11:43 AM, Ivan Myrvold wrote:
I want a sheet to show on a window, when I start my program. I first
tried to put the [NSApp beginSheet:...] method call in windowDidLoad
in my windowcontroller class. But that was too early, because the
sheet was not attached to the window.
Then I put the method call in the windowDidBecomeMain: delegate
method. That works better, but the text field that I had designed to
be key on the sheet is not key. Instead a text field on the window is
key, and starts accepting characters when I start typing. I have to
deliberately click the window, to have the sheet field be key.
Any suggestion to this is welcome.
_______________________________________________
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.
_______________________________________________
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.