Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!sun!argv From: argv@turnpike.Eng.Sun.COM (Dan Heller) Newsgroups: comp.windows.x.motif Subject: Re: Scrollbars in ScrolledText Message-ID: <141335@sun.Eng.Sun.COM> Date: 25 Aug 90 08:02:42 GMT References: <1990Aug24.181410.20667@cs.umn.edu> Sender: news@sun.Eng.Sun.COM Organization: O'Reilly && Associates Lines: 15 In article <1990Aug24.181410.20667@cs.umn.edu> ratering@umn-cs.cs.umn.edu (Steve Ratering) writes: > I created a widget with XmCreateScrolledText and set the text resource > XmNeditMode to XmMULTI_LINE_EDIT. The scroll bars don't appear. Does > anyone know why they might not appear and how I can make them appear? Multi-line editing doesn't have anything to do with it. You must set the resources XmNscrollVertical and/or XmNscrollHorizontal to True. Note: this *must* be done at creation time only (in at least Motif pre-1.1). This seems like an unreasonable requirement, but there you have it. -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.