Re: Scrolling virtual windows?

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Thu, 28 Nov 1996 00:49:14 -0600

To subscribers of the xforms list from "Dr. T.C. Zhao" <zhao@bragg.phys.uwm.edu> :

>To subscribers of the xforms list from Paul Colclough <paulc@sunsite.unc.edu> :
>I'm trying to setup a display of gadgets (widgets?) and text on a display
>and then be able to scroll this display up and down withgin it's window
>by using a scrolling bar...
>buttons & widgets, these need to scroll too, but much still be clickable.

There is no direct support for "scrolled list" yet in xforms.
A quick way of getting this to work is just move the objects when
the scrollbar changes value. You need to keep track where the objects
are and clip when necessary so they don't overflow to other parts of
the form. Also, this setup does not conflict with using
XCopyArea to "move" the drawings.

To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html