Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!rice!sun-spots-request From: aburb@oscar.cs.byu.edu (BURBIDGE A MICHAEL ) Newsgroups: comp.sys.sun Subject: Scrollbars in Sunview Keywords: Windows Message-ID: <2179@brazos.Rice.edu> Date: 8 Oct 89 01:09:02 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 13 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 163, message 3 of 5 I want to use a Canvas object and a Scrollbar object in Sunview to implement an object that scrolls through records in our proprietary database system. The normal semantics for a scrollbar on a canvas is to position a window to a specific area on logical canvas. In other words, we are scrolling around on an allocated piece of memory that has an image on it. I want to get control on a scroll request and do some database reads, and then draw the appropriate records to the canvas. I have come very close with several approaches. The Sunview system programmer's manual is very vague about how to set a scrollbar up to do what I am trying to do. Can anyone help? Some example source would be great. Mike Burbidge mike@cs.byu.edu