Path: utzoo!news-server.csri.toronto.edu!rutgers!usc!samsung!caen!news.cs.indiana.edu!arizona.edu!uazhe0.physics.arizona.edu!zazula From: zazula@uazhe0.physics.arizona.edu (RALPH ZAZULA) Newsgroups: comp.sys.next Subject: Help: IB and ScrollView Message-ID: <12MAR91212432@uazhe0.physics.arizona.edu> Date: 13 Mar 91 02:24:32 GMT Reply-To: zazula@uazhe0.physics.arizona.edu Distribution: usa,local Organization: University of Arizona Physics Department Lines: 28 Nntp-Posting-Host: uazhe0.physics.arizona.edu News-Software: VAX/VMS VNEWS 1.3-4 Lines: 28 This is a beginner question... I'd like to have a TextObject in a ScrollView within a Window to display text (eg. 100 lines of "hello world"). Is there an easy way to do this with InterfaceBuilder? I have the 1.0 'System Reference : Concepts' manual and it has a good example on doing this manually (Ch 9 :The Text Class, page 35). I've tried pulling a ScrollView into the window MyWindow that IB gives me at startup. I then saved everything, did a 'make' and ran it. Sure enough the ScrollView was there and working. Now, how do I send text to it? I want to do something like: [ScrollView setText:"here is some text"]; but I don't know the name of the IB provided ScrollView. Thanks, Ralph |----------------------------------------------------------------------| | Ralph Zazula "Computer Addict!" | | University of Arizona --- Department of Physics | | UAZHEP::ZAZULA (DecNet/HEPNet) | | zazula@uazhe0.physics.arizona.edu (Internet) | |----------------------------------------------------------------------| | "You can twist perceptions, reality won't budge." - Neil Peart | |----------------------------------------------------------------------|