home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / next / programm / 8342 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.3 KB

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