• 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: Using one NSWindow to open many NSWindows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using one NSWindow to open many NSWindows?


  • Subject: Re: Using one NSWindow to open many NSWindows?
  • From: Markus Hitter <email@hidden>
  • Date: Mon, 28 Jan 2002 10:50:50 +0100

Am Sonntag den, 27. Januar 2002, um 14:54, schrieb Gore:

I want to create my own alert panel, but the content of my alert panel should be different depending on the message I want to be shown, that's why I can't use one NSWindow instance because it will display the latest message on every alert panel...so how do I display many nswindows with different messages using one "template"?

You can replace the Text Fields while the window/panel is invisible.

Even replacing the text while the panel is already on screen wouldn't hurt too much, your users will be patient to wait that five milliseconds. (Put an empty string into the nib.)

For displaying messages using one to three buttons, there are generic panels.


Then, this answer is too easy. Probably you have a more complex situation.


Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/


References: 
 >Using one NSWindow to open many NSWindows? (From: Gore <email@hidden>)

  • Prev by Date: Re: Database Access
  • Next by Date: Re: Database Access
  • Previous by thread: Re: Using one NSWindow to open many NSWindows?
  • Next by thread: Adding Custom Objects to a NSMutableArray
  • Index(es):
    • Date
    • Thread