• 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: Trouble with sheets...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with sheets...


  • Subject: Re: Trouble with sheets...
  • From: David Emme <email@hidden>
  • Date: Sat, 17 Jun 2006 18:46:30 -0700


On Jun 17, 2006, at 5:06 PM, Bruce Beerbower wrote:


- (IBAction)closeSheet(id)sender { [NSApp endSheet:addPanel]; }

This compiles just fine but it doesn't seem to work; when I press the button which triggers openSheet the sheet opens properly, but when I press the button which triggers closeSheet it doesn't close. Dose anybody see what I'm doing wrong?

The example in Hillegass' book also sends an -orderOut: to the sheet. This seems to work for me.


-Dave

--
Nothing defines humans better than their willingness to do irrational
things in the pursuit of phenomenally unlikely payoffs. This is the
principle behind lotteries, dating, and religion.
    - Dogbert


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Trouble with sheets... (From: Bruce Beerbower <email@hidden>)

  • Prev by Date: Re: Launching an App, within an app.. :)
  • Next by Date: Re: Bindings + Trapping Changes
  • Previous by thread: Re: Trouble with sheets...
  • Next by thread: Re: Trouble with sheets...
  • Index(es):
    • Date
    • Thread