Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!agate!shelby!polya!ali From: ali@polya.Stanford.EDU (Ali T. Ozer) Newsgroups: comp.sys.next Subject: Re: A Few Questions... Message-ID: <10374@polya.Stanford.EDU> Date: 2 Jul 89 07:29:04 GMT References: <15094@pasteur.Berkeley.EDU> Sender: Ali T. Ozer Reply-To: aozer@NeXT.com (Ali T. Ozer) Organization: . Lines: 28 In article <15094@pasteur.Berkeley.EDU> dean@xcssun.Berkeley.EDU () writes: >1) In /usr/adm/messages, I see a lot of unable to open /dev/tty messages. >What's causing this, and what can I do about it ? It's the Workspace talking to itself, I think; no need to worry about it. >4) I'm trying to display some scrolling text in a panel. The obvious (to me) >approach didn't quite work. I got the text up, but no scrollbar. I'm trying >to put a Text-class object into a ScrollView, and make that the ContentView >of the panel. Can someone provide some hints ? This is most easily done by using one of the ScrollingText objects from Interface Builder. Make it the outlet of some object, and, on initialization of that outlet, you can set the text in the ScrollView with a simple: [[anObject docView] setText:"Hello World."]; Or, you can use readText:, or, even better yet, readRichText:. In some cases you might have to recalculate the frame of the Text object with a call to getMinWidth:...; see the ScrollingText class in the Yap sources on how to do this. >7) Why did lint go away ? With an ANSI compiler, you probably won't need it. Ali Ozer, NeXT Developer Support aozer@NeXT.com