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

Re: [NEWBIE] Sheets problem


  • Subject: Re: [NEWBIE] Sheets problem
  • From: Thomas Deniau <email@hidden>
  • Date: Mon, 25 Jun 2001 19:56:21 +0200

Le lundi 25 juin 2001, ` 07:30, kristin a icrit :

Hi Thomas,
I think you may be getting into a strange state by calling both beginSheet: and runModalForWindow:. beginSheet: should do what you want, and there should be no reason to call runModalForWindow: (which is meant to display a normal looking window which is application modal). What happens if you just call beginSheet:, then endSheet: and orderOut: to dismiss your sheet?

As I've said in another post, using only beginSheet, endSheet, and orderOut, everything works properly.
But now, the problem is that the function which calls beginSheet: should return the sum of the int values of 2 text fields, and so should wait until the sheet is closed, i.e. the user has validated the values that he has entered into the fields.
Is there a way to do "wait until the sheet is closed" without runModalForWindow ?


  • Follow-Ups:
    • Re: [NEWBIE] Sheets problem
      • From: Bill Cheeseman <email@hidden>
    • Re: [NEWBIE] Sheets problem
      • From: kristin <email@hidden>
References: 
 >Re: [NEWBIE] Sheets problem (From: kristin <email@hidden>)

  • Prev by Date: Re: Plugin Interface
  • Next by Date: Re: Communicate with pipe and AuthorizationExecuteWithPrivileges
  • Previous by thread: Re: [NEWBIE] Sheets problem
  • Next by thread: Re: [NEWBIE] Sheets problem
  • Index(es):
    • Date
    • Thread