cancel
Showing results for 
Search instead for 
Did you mean: 

Can I get the place where I clicked the mouse?

Former Member
0 Kudos

I have table with a column of buttons. I want to open a popup next to one of the buttons (using window.setPosition()) and for that I need to know the location (in pixel) of where the mouse was clicked.

Regards

Omer

Accepted Solutions (0)

Answers (2)

Answers (2)

lajitha_menon
Contributor
0 Kudos

Hi,

The only thing I can suggest is to calculate approximate value based on the row in which the button was clicked. Have a fixed calculation formula to derive position based on row.

Regards,

LM

Former Member
0 Kudos

Omer,

It's not possible to get mouse pointer coordinates with "click" event (actually, onAction of button). Also it is impossible to get location of button on client screen.

Valery Silaev

SaM Solutions

http://www.sam-solutions.net

Former Member
0 Kudos

I'm facing some similar problem and I was wondering how SAP manages it for the value help popup windows. They are displaying these windows directly under the affected field. So it looks like as it is possible to get some positions on the screen.