home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / software / 1263 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1012 b 

  1. Path: sparky!uunet!ogicse!uwm.edu!psuvax1!psuvm!mkk2
  2. From: MKK2@psuvm.psu.edu
  3. Newsgroups: comp.sys.next.software
  4. Subject: Inspector concepts
  5. Message-ID: <92233.214538MKK2@psuvm.psu.edu>
  6. Date: 21 Aug 92 01:45:38 GMT
  7. Article-I.D.: psuvm.92233.214538MKK2
  8. Organization: Penn State University
  9. Lines: 17
  10.  
  11. What's the recommened way to build an inspector that displays a different
  12. list of subviews for differnet types of inspectee?
  13.  
  14. What I decided to do is this:  I made the inspecting window large, used IB
  15. to build three different "looks" for the inspector, connected outlets,
  16. buttons, and so on.  I made sure that the three views were the same size.
  17.  
  18. Then I grouped each look into a box for ease of handling.
  19.  
  20. Now, when my inspector gets and inspect:aThing message, it sends the current
  21. box a moveTo:400:400 message and the needed box a moveTo:5:5 message.  This
  22. shifts the unneeded box out of the window, and brings the new one in.
  23.  
  24. This seems to work OK.  But I'd like to know, how was I "supposed" to
  25. do this?
  26.  
  27. M-
  28.