aburb@oscar.cs.byu.edu (BURBIDGE A MICHAEL ) (10/08/89)
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