home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!psuvax1!psuvm!mkk2
- From: MKK2@psuvm.psu.edu
- Newsgroups: comp.sys.next.software
- Subject: Inspector concepts
- Message-ID: <92233.214538MKK2@psuvm.psu.edu>
- Date: 21 Aug 92 01:45:38 GMT
- Article-I.D.: psuvm.92233.214538MKK2
- Organization: Penn State University
- Lines: 17
-
- What's the recommened way to build an inspector that displays a different
- list of subviews for differnet types of inspectee?
-
- What I decided to do is this: I made the inspecting window large, used IB
- to build three different "looks" for the inspector, connected outlets,
- buttons, and so on. I made sure that the three views were the same size.
-
- Then I grouped each look into a box for ease of handling.
-
- Now, when my inspector gets and inspect:aThing message, it sends the current
- box a moveTo:400:400 message and the needed box a moveTo:5:5 message. This
- shifts the unneeded box out of the window, and brings the new one in.
-
- This seems to work OK. But I'd like to know, how was I "supposed" to
- do this?
-
- M-
-