Re: Scrolling graphic area?

Marisa Giancarla (marisa@andromedia.com)
Tue, 18 Mar 1997 21:06:41 -0800 (PST)

To subscribers of the xforms list from Marisa Giancarla <marisa@andromedia.com> :

> Basically, just create a Canvas object and then create a child Window
> to the Canvas (a Canvas is just a Window). Draw or tile your Pixmaps
> into that window. You may end up creating child windows for each
> Pixmap and using XSetWindowBackgroundPixmap() to display your
> Pixmaps.
Hmm... Would I HAVE to have seperate windows for each pixmap? Or
is that just the best way to handle which one is clicked into? But I must
be on the right track as the placeholder I put on the form was a canvas
type. :-)

> The only problem I see using a Positioner object is that you can't
> easily set a background image since a Positioner with NO_BOX
> attributes is illegal (if you do it, you'll see that the Positioner
Hmm, I like the box around the positioner, I just wanted to set
a background instead of the plain gray one. Maybe I would have to code up a
PixmapPositioner type?

> crosshairs leave trails as they're moved). It might be easier to
> create another Canvas and use either the X or the XForms drawing
> routines to draw and undraw the crosshairs or other overlay.
I don't know X programming, and would prefer not having to learn. ;-)
If it is really going to take that to get it to work I may have to, of
course, but in the short time I might just stay at using a text box until
the system gets farther along.

Marisa

_________________________________________________
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://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/