Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!UPR1.UPR.CLU.EDU!D_GONZALEZ From: D_GONZALEZ@UPR1.UPR.CLU.EDU Newsgroups: comp.windows.x.motif Subject: XmScrolledText gives warning Message-ID: <76446487FE3F00C129@UPR1.UPR.CLU.EDU> Date: 15 May 91 01:32:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 32 Hi I have a program that creates an XmScrolledWindow with a TextWidget as its child. Everything worked fine until I added a function that will be used to print on this window. I am actually using it to print a welcome message at the beggining of the program. (Before the XtRealize ...) I get the following warning: $ sdt X Toolkit Warning: Name: hbar Class: XmScrollBar 2054-414 The specified ScrollBar value is not valid. $ Could somebody tell me what is going on ??? This is how I am printing the text: current_pos = XmTextGetLastPosition(parent); /* insert text in last position. */ XmTextReplace( parent, current_pos, current_pos, new_mesg); where parent is the text widget... David Gonzalez internet: d_gonzalez@upr1.upr.clu.edu CEENET Lab Staff lestat@rmece01.upr.clu.edu University of Puerto Rico Mayaguez Campus -- Engineering School