• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Conditionally disable horizontal scrolling

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Conditionally disable horizontal scrolling

    An indicator of mine allows interactions using the left mouse click when hovering over drawn objects (using SharpDX). When this happens I don't want to allow horizontal scrolling on the chart. Is there a way of conditionally disable horizontal scrolling? If not, can I programmatically execute the time-axis scroll arrow click action when <ChartControl>.IsScrollArrowVisible is true?

    #2
    Hello martyn73,

    Thanks for your post.

    The thread linked below describes a couple approaches that could be taken to programmatically scroll a chart. You could attempt to find the scroll bar button's Automation ID and use that for programmatic scrolling, or you could attempt to place automated keyboard presses to scroll the chart. There would not be a supported way to programmatically disable scrolling.

    https://ninjatrader.com/support/foru...rogramatically

    Please let us know if we can be of further assistance.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by gtpiylnu, Today, 11:23 PM
    0 responses
    2 views
    0 likes
    Last Post gtpiylnu  
    Started by Trade95, Today, 05:38 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by Karelgp7, Today, 03:16 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by orenytz, Today, 01:18 PM
    1 response
    22 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by des.kkeng, Today, 01:10 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Working...
    X