• 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: Issue while calling run modal after showing a sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue while calling run modal after showing a sheet


  • Subject: Re: Issue while calling run modal after showing a sheet
  • From: Chris Suter <email@hidden>
  • Date: Fri, 6 Oct 2006 14:26:36 +1000


On 06/10/2006, at 2:19 PM, RameshPVK wrote:

Hi All,

I have a small requirement. I am calling a sheet in my code. I wanted the control to be in the same line until the sheet is closed. I have written the code in the following way. Doing this , i am unable to receive application events. Because , i have used [NSApp runModalForWindow: myCustomDialog];. If i do not run the window as modal, the control is going to the next line. Is there anyway i can :
- call a sheet
- have the control in the same line until the sheet is closed.
- also able to perform actions on NSApp.

No. Why do you really want to?

Just use didEndSelector and put the code you want to run after the sheet has been dismissed in the didEndSelector method.

- Chris

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >Issue while calling run modal after showing a sheet (From: RameshPVK <email@hidden>)

  • Prev by Date: Issue while calling run modal after showing a sheet
  • Next by Date: Re: Issue while calling run modal after showing a sheet
  • Previous by thread: Issue while calling run modal after showing a sheet
  • Next by thread: Re: Issue while calling run modal after showing a sheet
  • Index(es):
    • Date
    • Thread