home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / motif / 8512 < prev    next >
Encoding:
Text File  |  1993-01-12  |  997 b   |  26 lines

  1. Newsgroups: comp.windows.x.motif
  2. Path: sparky!uunet!spool.mu.edu!think.com!enterpoop.mit.edu!paperboy.osf.org!moonshine!daniel
  3. From: daniel@moonshine.osf.org (Daniel Dardailler)
  4. Subject: Re: Setting scroll bar values
  5. Message-ID: <1993Jan12.144317.26133@osf.org>
  6. Sender: daniel@moonshine (Daniel Dardailler)
  7. Organization: Open Software Foundation, Motif Team
  8. References:  <1993Jan12.033555.14221@auspost.com.au>
  9. Date: Tue, 12 Jan 1993 14:43:17 GMT
  10. Lines: 14
  11.  
  12.  
  13. |> I am using Motif and WCL to implement a variable forms entry program.
  14. |> I need the editor to display a particular field when that field is
  15. |> in error, and this involves setting the XmNvalue field of the
  16. |> vertical scroll bar of an XmScrolledWindow using XtVaSetValues.
  17. |> 
  18. |> However, when I change this value, the scroll bar block moves, but
  19. |> the area inside the scrolled window (an XmpTable) does not get
  20. |> redrawn.
  21.  
  22. XtSetValues(scrollbar, XmNvalue) doesn't call the callback.
  23.  
  24. Use XmScrollBarSetValues, with notify = True.
  25.  
  26.