Question T9866
Visible to All Users

Need information For clicks

created 3 years ago

Hi,
We have functionality of Right Click, Long Press on components. And we need the position of that component when we click to show some menu options under the component. Is it possible to get the click events and the positions of components?.
This is for UWP(windows desktop app) development.

Thanks,
Sakthi.

Answers approved by surveyjs Support

created 3 years ago

Hello,

If you subscribed the click event in your code then an event object is being passed from native to your code as an argument of a click handler (https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent)). You can get only the information available in an event object. Probably you will be able to calculate coordinates via your custom code.

Thanks, Serge
SurveyJS Team