• 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: System Preference Pane Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Preference Pane Problems


  • Subject: Re: System Preference Pane Problems
  • From: "John Farmer" <email@hidden>
  • Date: Fri, 30 May 2003 11:43:41 -0700

This is what my Create New Profile button does:

[NSApp beginSheet: createANewProfileWIndow
modalForWindow:[NSApp mainWindow]
modalDelegate:self
didEndSelector:NULL
contextInfo:NULL];

[NSApp runModalForWindow:createANewProfileWindow];
[NSApp endSheet: createANewProfileWindow];

And this is what my Cancel and Apply do in the window to close it:

[NSApp endSheet:createANewProfileWindow];
[createANewProfileWindow orderOut:self];
[NSApp stopModal];


----- Original Message -----
From: "Finlay Dobbie" <email@hidden>
To: "John Farmer" <email@hidden>
Cc: <email@hidden>
Sent: Friday, May 30, 2003 11:28 AM
Subject: Re: System Preference Pane Problems


>
> On Friday, May 30, 2003, at 07:01 pm, John Farmer wrote:
>
> > Does anyone know what's going on?
>
> Are you remembering to call endSheet before ordering it out?
>
> -- Finlay
_______________________________________________
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.

  • Follow-Ups:
    • Re: System Preference Pane Problems
      • From: Dustin Voss <email@hidden>
References: 
 >Re: System Preference Pane Problems (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Compiler
  • Next by Date: Re: key events in custom view
  • Previous by thread: Re: System Preference Pane Problems
  • Next by thread: Re: System Preference Pane Problems
  • Index(es):
    • Date
    • Thread