Skip navigation.
 
mlRe: NSWindows/NSPanels/NSDrawers are NIL
FROM : San Saeteurn
DATE : Mon Jul 10 22:03:13 2006

Nope.  It is not on. Here is a list of how the attributes look like:
Release When Close: OFF
Hide on Deactive: ON
Visible At launch: OFF
Deferred: ON
One Shot: ON (But so are all the other panels)
Utility Window: ON
Non Activating Panel: OFF
Has Texture: ON
Has Shadow: ON
Display Tooltip When App is inactive: OFF
Unified title/toolbar look: OFF
Auto recalculate key vie loop: OFF

BUFFERED, Close: OFF, Minimize: OFF, Zomm: OFF


>From: "I. Savant" <<email_removed>>
>To: San Saeteurn <<email_removed>>
>CC: <email_removed>
>Subject: Re: NSWindows/NSPanels/NSDrawers are NIL
>Date: Mon, 10 Jul 2006 15:29:38 -0400
>
>
>  In Interface Builder, on the Attributes Inspector panel, do you by 
>chance have "Release when closed" checked? I doubt this is the cause  but
>when confused ......
>
>--
>I.S.
>
>
>On Jul 10, 2006, at 3:18 PM, San Saeteurn wrote:
>

>>It is connected.  I even went as far as deleting the panel and  replacing
>>it with a window and a drawer and back again.  None of  them works!
>>
>>

>>>From: "I. Savant" <<email_removed>>
>>>To: San Saeteurn <<email_removed>>
>>>CC: <email_removed>
>>>Subject: Re: NSWindows/NSPanels/NSDrawers are NIL
>>>Date: Mon, 10 Jul 2006 15:11:39 -0400
>>>
>>>
>>>< Sorry - thought it was still off-list ... reposting to list. >
>>>
>>>  The absolute most common cause of this is a disconnected  outlet. 
>>>Even if you've verified before, take another look to make  absolute 
>>>certain the outlet is properly connected in the nib.  Sometimes I even 
>>>go as far as to specifically disconnect, then  reconnect an outlet if 
>>>I'm having trouble - that sometimes  "fixes" whatever went wrong.
>>>
>>>--
>>>I.S.
>>>
>>>
>>>On Jul 10, 2006, at 3:04 PM, San Saeteurn wrote:
>>>

>>>>No, I am creating it with nibs.  The difference I mentioned is  that  I
>>>>am not using a previously built nib like the other person.
>>>>
>>>>All I did was create the nib, make the connections and ran the  code. 
>>>>It simply didn't work.
>>>>
>>>>-San Saeteurn
>>>>
>>>>

>>>>>From: "I. Savant" <<email_removed>>
>>>>>To: "San Saeteurn" <<email_removed>>
>>>>>Subject: Re: NSWindows/NSPanels/NSDrawers are NIL
>>>>>Date: Mon, 10 Jul 2006 15:02:02 -0400
>>>>>
>>>>>
>>>>>  You should reply on-list - more people can help you this  way. :-) 
>>>>>Also, you mentioned you're not using a nib; that you  created this 
>>>>>panel yourself (I assume you mean in code). If  so,  *that* is the code
>>>>>  you need to post -- since it's nil,  that  implies a problem at 
>>>>>creation, so we need to see the  creation code.
>>>>>
>>>>>--
>>>>>I.S.
>>>>>
>>>>>
>>>>>On Jul 10, 2006, at 2:36 PM, San Saeteurn wrote:
>>>>>

>>>>>>This is the code that is suppose to open the panel.:
>>>>>>
>>>>>>- (IBAction)openIncreaseBudget:(id)sender{
>>>>>>    if(increaseBudget != nil)
>>>>>>    {
>>>>>>        [companyFundsField setStringValue:[theCompany get:@"finances"]];
>>>>>>        [increaseBudget makeKeyAndOrderFront:sender];
>>>>>>    }
>>>>>>    else
>>>>>>        NSLog(@"Increase Budget is NIL for some reason: %@",   
>>>>>>increaseBudget);
>>>>>>}
>>>>>>
>>>>>>

>>>>>>>From: "I. Savant" <<email_removed>>
>>>>>>>To: San Saeteurn <<email_removed>>
>>>>>>>CC: <email_removed>
>>>>>>>Subject: Re: NSWindows/NSPanels/NSDrawers are NIL
>>>>>>>Date: Mon, 10 Jul 2006 14:34:23 -0400
>>>>>>>
>>>>>>>
>>>>>>>  Please post your code.
>>>>>>>
>>>>>>>--
>>>>>>>I.S.
>>>>>>>
>>>>>>>
>>>>>>>On Jul 10, 2006, at 2:30 PM, San Saeteurn wrote:
>>>>>>>

>>>>>>>>Hi,
>>>>>>>>
>>>>>>>>I am trying to open an NSPanel using makeKeyAndOrderFront:  but 
>>>>>>>>the  window won't open.  I do this at runtime when the  user 
>>>>>>>>clicks a  button.
>>>>>>>>
>>>>>>>>When I jumped into the debugger, the value for the NSPanel  was 
>>>>>>>>nil.  After reading a post on this mailing list about  another 
>>>>>>>>person experiencing a similar problem except their  panel opens  in
>>>>>>>>  awakeFromNib: while mine doesn't.  theya re  using an existing 
>>>>>>>>NIB  while I am creating mine.
>>>>>>>>
>>>>>>>>OK, I have several panels and drawers (6 to be exact).  Prior  to 
>>>>>>>>this panel failing to be initialized, the others  initialized and 
>>>>>>>>opened just fine.  In an attempt to work  around this issue, 
>>>>>>>>instead  of using a panel, I tried a  drawer.  But that was not 
>>>>>>>>initialized  either when i tried  it.  then a standard window, but 
>>>>>>>>that failed.
>>>>>>>>
>>>>>>>>To sum up the problem:
>>>>>>>>I have several panels and drawers, but any new panels/ drawers/ or 
>>>>>>>>windows I add gets initialized to NIL.  The old  ones work  fine.   
>>>>>>>>Any ideas?
>>>>>>>>
>>>>>>>>-San Saeteurn
>>>>>>>>
>>>>>>>>
>>>>>>>>_______________________________________________
>>>>>>>>Do not post admin requests to the list. They will be ignored.
>>>>>>>>Cocoa-dev mailing list      (<email_removed>)
>>>>>>>>Help/Unsubscribe/Update your Subscription:
>>>>>>>>http://lists.apple.com/mailman/options/cocoa-dev/  idiotsavant2005% 
>>>>>>>>40gmail.com
>>>>>>>>
>>>>>>>>This email sent to <email_removed>

>>>>>>>

>>>>>>
>>>>>>

>>>>>

>>>>
>>>>

>>>

>>
>>
>>_______________________________________________
>>Do not post admin requests to the list. They will be ignored.
>>Cocoa-dev mailing list      (<email_removed>)
>>Help/Unsubscribe/Update your Subscription:
>>http://lists.apple.com/mailman/options/cocoa-dev/idiotsavant2005%
>>40gmail.com
>>
>>This email sent to <email_removed>

>

Related mailsAuthorDate
mlNSWindows/NSPanels/NSDrawers are NIL San Saeteurn Jul 10, 20:30
mlRe: NSWindows/NSPanels/NSDrawers are NIL I. Savant Jul 10, 20:34
mlRe: NSWindows/NSPanels/NSDrawers are NIL San Saeteurn Jul 10, 21:04
mlRe: NSWindows/NSPanels/NSDrawers are NIL I. Savant Jul 10, 21:11
mlRe: NSWindows/NSPanels/NSDrawers are NIL San Saeteurn Jul 10, 21:18
mlRe: NSWindows/NSPanels/NSDrawers are NIL I. Savant Jul 10, 21:29
mlRe: NSWindows/NSPanels/NSDrawers are NIL San Saeteurn Jul 10, 22:03
mlRe: NSWindows/NSPanels/NSDrawers are NIL San Saeteurn Jul 10, 22:48
mlRe: NSWindows/NSPanels/NSDrawers are NIL I. Savant Jul 10, 22:52
mlRe: NSWindows/NSPanels/NSDrawers are NIL San Saeteurn Jul 10, 23:46