Ignore ScrollWheel Events

Login or Register

Please login or register in order to view and post in the Forum.

1 post / 0 new
cpayne
Last seen: 1 year 9 months ago
Joined: 03/30/2009 - 00:00
Ignore ScrollWheel Events

If you would like to be able to turn off the handling of mouse scrollwheel events in charts, you can easily create a button that toggles these events on and off through a config variable.

Simply add a Button indicator to your chart (right-click in chart and Add > Button) and set it up to Set Configuration Variable with the variable statement of....

MouseScrollWheel=true,MouseScrollWheel=false

as seen below....

Choose the MouseScrollWheel=true from the dropdown menu to turn scroll wheel events on, and choose MouseScrollWheel=false to turn scroll wheel events off.  This is a global setting that will apply to all charts and not just the chart on which the Button indicator resides.

 

 

0