🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1969

Re: Multiple instances of IB objects

#1969
From: Mikael Behrens
Date: Fri, 25 Dec 1992 19:31
18 lines
1122 bytes
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
Technical Details
Message-ID: <85811@ut-emx.uucp>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!sdd.hp.com!cs.utexas.edu!ut-emx!scout.utexas.edu
References: <1992Dec23.233230.1472@drefla.mese.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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