Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Right clicking on TGrid
Tue, Nov 22 2016 9:49 AMPermanent Link

erickengelke

Avatar

Hi,

I set a right click handler on a TGrid, and it works in all browsers.  However, some browsers
(Chrome and Safari) ALSO display their context sensitive menu.  Is there an EWB recommended
way to stop the default?

Erick
Tue, Nov 22 2016 3:25 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Erick,

<< I set a right click handler on a TGrid, and it works in all browsers.  However, some browsers (Chrome and Safari) ALSO display their context sensitive menu.  Is there an EWB recommended way to stop the default? >>

The only way to stop it is to hook the context menu events and prevent them from executing their default behavior, and EWB currently does not surface that functionality.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Nov 22 2016 11:13 PMPermanent Link

erickengelke

Avatar

Tim Young [Elevate Software] wrote:

Erick,

<< I set a right click handler on a TGrid, and it works in all browsers.  However, some browsers (Chrome and Safari) ALSO display their context sensitive menu.  Is there an EWB recommended way to stop the default? >>

<The only way to stop it is to hook the context menu events and prevent them from executing their default behavior, and EWB currently does not surface that functionality.

Thanks,

Erick
Image