XForms: scrolled canvas

AMIT BHATNAGAR (amit@cs.dal.ca)
Tue, 10 Feb 1998 13:34:22 -0400 (AST)

# To subscribers of the xforms list from AMIT BHATNAGAR <amit@cs.dal.ca> :

Hello,

I am trying to do the following.. I am making a simple graphics drawing
program.. and I have to have a 'world window' of which only the viewport
is seen.

In other words, my canvas (aka viewport) should be not only limited to its
dimensions..it should be able to be 'moved' around the worldwindow, and only
objects that are within the viewport are displayed.

(am I makeing any sence?)

SO what I thought would handle this is a scrolled canvas..thinking that if
objects that are drawn are not within the canvas, I can simple scroll to
that new location.

I am having 2 problems with this:

1) How much will it scroll? Meaning.. what will the 'bounding'
dimensions by on my canvas (if there is any)?

2) When I change my canvas to a scrolled canvas in formdesigner.. I do not
see 2 scroll bars..

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/