Re: custom alert panel
Re: custom alert panel
- Subject: Re: custom alert panel
- From: Denis Queffeulou <email@hidden>
- Date: Mon, 26 Apr 2004 10:12:34 +0200
justin webster wrote:
I am trying to implement an alert panel which has input objects other
than the standard buttons in NSAlert (eg. text input, stepper).
I have created a separate nib which I load with a NSWindowController
but...
I want the application to pause and wait for the result of the user
input as it does with an NSAlert.
I guess I need to subclass NSAlert or apply this 'pausing and
continuing' to my code somehow.
I'm not sure how to do this and I'm going round in circles.
I think I already done this with a NSApplication method that do modal
dialog with NSPanel. I forgot the name of the method but the
NSApplication doc talk about this.
You have to bind the OK and Cancel button on NSApp method like
stopModalWithCode or something like this.
--
Denis
_______________________________________________
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.