home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / windows / x / 20350 < prev    next >
Encoding:
Internet Message Format  |  1992-12-18  |  1.1 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!datl
  2. From: datl@uxa.cso.uiuc.edu (le dat trieu)
  3. Newsgroups: comp.windows.x
  4. Subject: HELP: How to "fake" a pgup or pgdn for a motif scrollbar?
  5. Keywords: scrollbar
  6. Message-ID: <BzFHA9.ICu@news.cso.uiuc.edu>
  7. Date: 17 Dec 92 23:58:57 GMT
  8. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  9. Organization: University of Illinois at Urbana
  10. Lines: 18
  11.  
  12.  
  13. I am posting this for a friend:
  14.  
  15. How can I invoke the appropriate Motif callback for a scroll bar as if the user
  16. has selected page up or page down on a scroll bar.  I have a scrolled window
  17. with several text widget in it for user input.  A page up or page down scrolls
  18. to the previous or next row of text widgets.  I need to be able to display the
  19. appropriate row in order to prompt the user to enter values in a particular
  20. row of text widgets.  Can I use XSendEvent ot XtCallCallbacks to do this?
  21.  
  22. The scrolled window is in automatic mode.  This is the only control I want to
  23. exert over it, so I don't want to have to handle all scrolled window events
  24. manually.
  25.  
  26. Thanks in advance.
  27.  
  28. J. Brown
  29. brown@ecc2.dsd.northrop.com
  30.