home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / next / programm / 8345 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.9 KB  |  41 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!usc!howland.reston.ans.net!spool.mu.edu!sgiblab!rtech!amdahl!amdcad!dvorak.amd.com!usenet
  3. From: rpomeroy@aunext1.amd.com (Ron Pomeroy x(Coop))
  4. Subject: Re: array of id's ? Palette'ized objects
  5. Message-ID: <1993Jan27.145413.20955@dvorak.amd.com>
  6. Sender: usenet@dvorak.amd.com (Usenet News)
  7. Reply-To: rpomeroy@aunext1.amd.com
  8. Organization: Advanced Micro Devices, Inc.; Austin, Texas
  9. References: <C1HrCt.M33@helios.physics.utoronto.ca>
  10. Distribution: usa
  11. Date: Wed, 27 Jan 93 14:54:13 GMT
  12. Lines: 27
  13.  
  14. In article <C1HrCt.M33@helios.physics.utoronto.ca>  
  15. mcgowan@emerald.physics.utoronto.ca (Patrick McGowan) writes:
  16. >>Maybe this is a dumb question, but I'd like to be able to access an array  
  17. >>of id's (outlets) so that I can access the one of my choice depending on a  
  18. >>selection made at run time....in this case I am presented a range of  
  19. >>operations to perform on some data. These operations are listed in a  
  20. >>PopUp. It would be easiest to use the index of the selected item to access  
  21. >>an array element rather than a hard name like calc1, calc2, calc3...etc.
  22. >>Am I missing something, or is this not a common type of problem?
  23. >>
  24. >>Also, can a non-view object be palette'ized for use in IB? I'd like to be  
  25. >>able to hook up one of the above calc objects using IB. ie. drag one off a  
  26. >>palette into the .nib Objects well (instantiate) for graphical connection  
  27. >>to other objects.
  28. >>
  29. >>Thanks in advance.
  30.  
  31. Sounds like a job for a List (as in the List class in the Appkit).
  32.  
  33. As far as palette'izing objects goes...me thinks someone reciently uploaded an  
  34. example of doing just that to sonata (something like ObjectPalette.tar.Z ??)
  35.  
  36. --
  37. Ronald Pomeroy        "The Internet is just a giant petri dish"
  38. Advanced Micro Devices
  39. CAM Applications Group
  40. rpomeroy@aunext1.amd.com (NeXTmail preferred)
  41.