• 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: Progress bar in sheet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Progress bar in sheet?


  • Subject: Re: Progress bar in sheet?
  • From: Tommy Knowlton <email@hidden>
  • Date: Tue, 6 Aug 2002 16:36:26 -0600

Yes, I was able to use a window from a NIB, with many different UI
elements, including text fields and popup inside a sheet (for a
mandatory response that I require before you can proceed).

I did it by subclassing NSWindowController, calling
[super initWithWindowNibName:@"blah"] in it's -init, and then I used

[NSApp beginSheet:[_sheetController window]
modalForWindow:[_view window]
modalDelegate:self
didEndSelector:@selector(sheetDidEnd:returnCode:contextInfo:)
contextInfo:nil];

Hope this helps.

--Tk!

On Tuesday, August 6, 2002, at 04:18 PM, Gerben Wierda wrote:

> I would like to add a sheet to a document window that contains a
> progress bar for some process chugging along and an abort button. More
> generally, I would like to have some special sheets with possible
> other functions, like popups etc.
>
> Is there a way to do this?
>
> Thanks,
>
> G
> _______________________________________________
> 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.
_______________________________________________
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.

References: 
 >Progress bar in sheet? (From: Gerben Wierda <email@hidden>)

  • Prev by Date: RE: Progress bar in sheet?
  • Next by Date: Re: Accessor methods and (auto)release: conclusion
  • Previous by thread: Progress bar in sheet?
  • Next by thread: RE: Progress bar in sheet?
  • Index(es):
    • Date
    • Thread