home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!clark!spool.mu.edu!torn!skule.ecf!helios.physics.utoronto.ca!news
- From: mcgowan@emerald.physics.utoronto.ca (Patrick McGowan)
- Newsgroups: comp.sys.next.programmer
- Subject: array of id's ? Palette'ized objects
- Message-ID: <C1HrCt.M33@helios.physics.utoronto.ca>
- Date: 27 Jan 93 02:38:52 GMT
- Article-I.D.: helios.C1HrCt.M33
- Sender: news@helios.physics.utoronto.ca (News Administrator)
- Reply-To: mcgowan@emerald.physics.utoronto.ca (Patrick McGowan)
- Organization: University of Toronto Physics/Astronomy/CITA
- Lines: 14
-
- Maybe this is a dumb question, but I'd like to be able to access an array
- of id's (outlets) so that I can access the one of my choice depending on a
- selection made at run time....in this case I am presented a range of
- operations to perform on some data. These operations are listed in a
- PopUp. It would be easiest to use the index of the selected item to access
- an array element rather than a hard name like calc1, calc2, calc3...etc.
- Am I missing something, or is this not a common type of problem?
-
- Also, can a non-view object be palette'ized for use in IB? I'd like to be
- able to hook up one of the above calc objects using IB. ie. drag one off a
- palette into the .nib Objects well (instantiate) for graphical connection
- to other objects.
-
- Thanks in advance.
-