• 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: Application behaving strangely after displaying a sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application behaving strangely after displaying a sheet


  • Subject: Re: Application behaving strangely after displaying a sheet
  • From: Finlay Dobbie <email@hidden>
  • Date: Sun, 4 Nov 2001 21:34:41 +0000

On Sunday, November 4, 2001, at 09:25 pm, Bruno Blondeau wrote:

[NSApp beginSheet:mySheet
modalForWindow:[myTextView window]
modalDelegate:self
didEndSelector:NULL
contextInfo:NULL];

modalVal = [NSApp runModalForWindow:mySheet];

I don't think that you should use runModalForWindow with a sheet. Instead, use the didEndSelector in [NSApp beginSheet:]
There is a very simple tutorial on using sheets over at http://www.cocoadevcentral.com

-- Finlay


  • Follow-Ups:
    • Re: Application behaving strangely after displaying a sheet
      • From: Bruno Blondeau <email@hidden>
References: 
 >Application behaving strangely after displaying a sheet (From: Bruno Blondeau <email@hidden>)

  • Prev by Date: Re: Colored Buttons?
  • Next by Date: Re: File Icon
  • Previous by thread: Application behaving strangely after displaying a sheet
  • Next by thread: Re: Application behaving strangely after displaying a sheet
  • Index(es):
    • Date
    • Thread