I am looking to add some right click functionality to my app. I can see that if you have a form element ie a field you can use the onRightClick event, however is there a way to do this on the form as a whole ? I can see the JSEvent.RIGHTCLICK that can be attached to the onRightClick even but not see how this can be attached to the form as a whole rather than a specific form element. Any pointers would be much appreciated
What about creating a button the size of the form, add a right click event to it, put it behind all the other elements, turn showClick property off, transparent on.
antonio:
What about creating a button the size of the form, add a right click event to it, put it behind all the other elements, turn showClick property off, transparent on.
Thanks for your solution. It is working fine . But suppose we have done the right click operation on the button which is of the size form . We have placed another element button on that . Then when we are going to the element button and clicking it for the first time it is not working . But then onwards when we are clicking the element button it is working fine.
I have created one now as I was not sure how previously. I still think it would be a great feature and enhanced Servoys functionality especially on the desktop
I have created one now as I was not sure how previously. I still think it would be a great feature and enhanced Servoys functionality especially on the desktop
Maybe you can post the link so people can vote/watch the issue.