Re: makekeyandorderfront
Re: makekeyandorderfront
- Subject: Re: makekeyandorderfront
- From: Daryn <email@hidden>
- Date: Tue, 28 Oct 2003 00:25:00 -0600
Are you sure that processStatementWindow is loaded? I suspect it's
not, which means your processStatementWindow ivar is nil.
If this a window controller, try using windowDidLoad:. If this is a
document, try using windowControllerDidLoadNib:.
Hope this helps.
On Oct 27, 2003, at 11:19 PM, John MacMullin wrote:
I have an awakefrom nib method as follows:
-(void)awakeFromNib
{
if ([[self windowNibName] isEqualToString: @"ProcessStatement" ])
{
[processStatementWindow makeKeyAndOrderFront:(id)self];
NSLog(@"IncomeStatement");
}
}
The NSlog shows that the makekeyandorderfront should be executing,
however, nothing happens. The window does not appear.
I have checked all of the IB connections and they are connected. The
code executing the load of the nib works.
Any suggestions?
John
PS. This is December 2002 dev tools.
_______________________________________________
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.
Daryn
_______________________________________________
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.