ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Dec/how-to-subclass-a-instantiated-obje

This is how-to-subclass-a-instantiated-obje in view mode; [Up]


Date: Sun 23-Dec-1989 19:11:00 From: jpd00964@uxa.cso.uiuc.edu Subject: Re: how to subclass a instantiated obje /* 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
Date: Sun 23-Dec-1989 19:11:00 From: jpd00964@uxa.cso.uiuc.edu Subject: Re: how to subclass a instantiated obje /* 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

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.