home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!sdd.hp.com!cs.utexas.edu!ut-emx!scout.utexas.edu
- From: mikael@scout.utexas.edu (Mikael Behrens)
- Newsgroups: comp.sys.next.programmer
- Subject: Re: Multiple instances of IB objects
- Message-ID: <85811@ut-emx.uucp>
- Date: 25 Dec 92 19:31:14 GMT
- References: <1992Dec23.233230.1472@drefla.mese.com>
- Sender: news@ut-emx.uucp
- Reply-To: mbehrens@cs.utexas.edu
- Distribution: usa
- Lines: 18
-
- Matt Brandt writes
- | If I create a window in IB with lots of gadgets and connections in it
- how
- | can I get multiple instances of that window that act correctly at
- | runtime? The -copy method of Object won't do it because it doesn't copy
- | secondary objects (objects pointed to within the primary object).
- Anybody
- | got a good method of doing this?
- |
- | Matt Brandt
- | matt@drefla.mese.com
-
- What you need to do is put the window (and all its gadgets) into its own
- nib file. This nib file can be dynamically loaded as many times as you
- like, creating new instances each time. There's a tutorial in the 3.0
- online documentation that shows exactly how to do this.
-
- Mikael
-