Fernand Vanrie wrote:
I have no experience with drawpages but have some sucsesfull use of
mouselinsteners on OO-ialogs the technique is like:
xMouseMotionListener = CreateUnoListener("MouselistMouseMotion_",
"com.sun.star.awt.XMouseMotionListener")
oDialog.addMouseMotionListener( xMouseMotionListener )
one of the callback procedure we can het the mousel ocation :
Sub MouselistMouseMotion_mouseMoved( eMouseEvent )
emouseEvent.X
emouseEvent.Y
doing a "xray on the drawpage or its windows will learn you what kind
of listeners ara available
hope it helps
Actually that did help. The DrawPage itself cannot accept a
MouseListener as far as I can tell, but it looks like with a bit of math
I can figure out the position on the draw page. I appreciate the pointer.
Henry
http://hneufeld.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]