home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / next / programm / 7915 < prev    next >
Encoding:
Internet Message Format  |  1992-12-25  |  1.1 KB

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