• 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: makekeyandorderfront
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >makekeyandorderfront (From: John MacMullin <email@hidden>)

  • Prev by Date: Re: Disk Copy
  • Next by Date: Re: OSX Programmer Needed $400
  • Previous by thread: makekeyandorderfront
  • Next by thread: Updating the Trash icon in OS 10.1
  • Index(es):
    • Date
    • Thread