Avatar

Level 7

Hi,

I am able to set focus on an object based on an event. But i want to perform following activities.

1). I want to read the (x,y) co-cordinates of the focused object.

2) Then I want to point my mouse to that co-ordinate.

Could anyone tell me how do I perform following two activities.

What I am Trying to accomplish.

mouseCoordinates.JPG


I want to move (up/down) following panels based on click event. When i Click on Move Up button, I am able to focus using (xfa.host.setFocus("MoveUp")) but my mouse pointer is still on the same position where I clicked on the button.

I want to move (x,y) position to focused button.

Regards

Sunil