Page 1 of 2

RightClick

PostPosted: Wed Mar 16, 2011 1:01 pm
by Gordon
Hi

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

Cheers
Gordon

Re: RightClick

PostPosted: Wed Mar 16, 2011 3:29 pm
by Harjo
There is no onRightClick property on form level, only on button/element level

So I think you should file a feature request..

+1 btw....

Re: RightClick

PostPosted: Wed Mar 16, 2011 4:41 pm
by madimane
Hi,
+1 for that feature

Re: RightClick

PostPosted: Thu Mar 17, 2011 1:39 am
by ngervasi
+1

Re: RightClick

PostPosted: Thu Mar 17, 2011 9:43 pm
by bobcusick
+1

Re: RightClick

PostPosted: Fri Mar 18, 2011 8:56 am
by Hans Nieuwenhuis
+1

Re: RightClick

PostPosted: Fri Mar 18, 2011 9:01 am
by Roberto Blasco
+1

Re: RightClick

PostPosted: Fri Mar 18, 2011 10:32 am
by 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.

Re: RightClick

PostPosted: Fri Mar 18, 2011 6:58 pm
by Manolo_Etec
+1

Re: RightClick

PostPosted: Sat Mar 19, 2011 9:23 pm
by JuanMartin
+1

Re: RightClick

PostPosted: Tue Mar 22, 2011 11:46 am
by lvostinar
did someone create a case for this?

Re: RightClick

PostPosted: Wed Sep 28, 2011 6:50 am
by erikd
Any update on this?

Re: RightClick

PostPosted: Wed Sep 28, 2011 6:55 am
by jcarlos
antonio wrote: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.


Did you try it this? How did it work?

Re: RightClick

PostPosted: Wed Sep 28, 2011 6:57 am
by jcarlos
Re: Gordon's idea

+1

Re: RightClick

PostPosted: Wed Sep 28, 2011 9:02 am
by ashutos
Hi antonio,

Thanks for your solution. It is working fine :D . 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.





Thanks in advance. Waiting for your feedback.