Re: Progress bar in sheet?
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.