I am trying to drag the blocks of text displayed on my canvas around with
the mouse.  I'm using flowRoot elements to contain the multiple lines of
text.

Unfortunately they don't want to be dragged. :)   It was easy enough to get
the graphic elements like rectangles and circles to drag around but even
though I update the rect element inside the flowRegion the text doesn't move
unless I reload the page.  At which point it is in the correct spot.

Is it because the X,Y location I'm changing is deep inside the flowRoot
element and it doesn't generate some kind of trickle-up notification to the
canvas display?

I tried putting the flowRoot element into a g element along with a rect and
then repositioning the rect but that didn't work.

Any suggestions on a way to do this?  Is there some kind of positionable
element that I can wrap the flowRoot into?

Thanks,

     Phil

--
Visit http://www.darkisle.com for photos of castles, cairns and other
historic sites in the British Isles.

Reply via email to