Scrollbars in Sunview

BURBIDGE A MICHAEL aburb at oscar.cs.byu.edu
Sun Oct 8 11:09:02 AEST 1989


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 at cs.byu.edu



More information about the Comp.sys.sun mailing list