Path: utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!wuarchive!mit-eddie!bloom-beacon!dprg-330.GOVt.shearson.COM!fgreco From: fgreco@dprg-330.GOVt.shearson.COM (Frank Greco) Newsgroups: comp.windows.x Subject: Re: XView and static text Message-ID: <9012101947.AA16400@islanders.> Date: 10 Dec 90 19:47:24 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 29 > > I would like to use in my XView application either: > > a) multi-line static text items within a scrollable Panel > > or > > b) some other type of object for displaying multiple lines of static > text. > > The XView Programming Manual page 136 footnote says that a) is not > supported. Is there any hope for me? > > mike If you can live with one font for all your text, you could create a read-only TEXTSW. This is extremely trivial. There's a whole section devoted to TEXTSW's in Dan Heller's XVPM. Scrollbars/Scrolling and (multi-view) Splittability comes for free. Or for more flexibility, you could create a CANVAS and go wild with colors and fonts. There's just a little bit more work you have to do (e.g., taking care of repainting and handling events) but its still very easy. Frank G.