Re: Using one NSWindow to open many NSWindows?
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/