• 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: custom alert panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >custom alert panel (From: justin webster <email@hidden>)

  • Prev by Date: Re: custom alert panel
  • Next by Date: Re: custom alert panel
  • Previous by thread: Re: custom alert panel
  • Next by thread: Re: Getting NSFontPanel color changes [SOLVED]
  • Index(es):
    • Date
    • Thread