[comp.sys.next] how to subclass a instantiated obje

jpd00964@uxa.cso.uiuc.edu (12/24/89)

/* Written  3:21 pm  Dec 22, 1989 by dennisg@kgw2.uucp.WEC.COM in uxa.cso.uiuc.edu:comp.sys.next */
/* ---------- "how to subclass a instantiated obje" ---------- */
>can you help me?
maybe :->

>1.
>i want to subclass a instantiated window and assume its controls.

Create your window using interface builder, look at the misc. under the 
project to get the locations, and just create new ones in your subclassed window
If you absolutely insist that this does not work, then try this.

Make your window as you want it with an outlet to every single view you want
to copy over.  (Everything should be a subclass of view).  Create your new
window.  Change the superview of each object, one by one, over to your new
window.


>2.
>i need a tutorial on scroll views.  i can't find any examples.  i want
>to create a scroll view of buttons much like the digital librarian
>does in the summary area.  could some one point me in the right
>direction?  it is probably so easy that my simple mind doesn't see it.

In Chapter 9 of the 1.0 dox (On-line that is) there is sample code to create a 
scrolling text view.  It is done very similar for a matrix object.

Michael Rutman
SoftMed