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

Re: Sheets Trouble


  • Subject: Re: Sheets Trouble
  • From: Theodore Petrosky <email@hidden>
  • Date: Fri, 12 Dec 2003 05:11:28 -0800 (PST)

Aaron,

check out this article... maybe it will help.


http://www.macdevcenter.com/pub/a/mac/2001/10/05/cocoa.html?page=1

Ted

> Message: 3
> Date: Fri, 12 Dec 2003 11:57:56 +0800
> From: Aaron Boothello <email@hidden>
> To: email@hidden
> Subject: Sheets trouble.... kinda odd.
>
> I'm trying to implement sheets in my App. ive got it
working using the
> following code....
>
> -(IBAction) doSheet:(id)sender
> {
> [NSApp beginSheet:sheet
> modalForWindow:testview
> modalDelegate:nil
> didEndSelector:nil
> contextInfo:nil];
>
> [NSApp runModalForWindow: sheet];
> [NSApp endSheet: sheet];
> [sheet orderOut:self];
> }
>
> and the following call when i finish with the sheet:
> [NSApp stopModal];

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
_______________________________________________
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.

  • Prev by Date: How can I set a value for NSNumber?
  • Next by Date: (no subject)
  • Previous by thread: Re: How can I set a value for NSNumber?
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread