Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

What replaces ChartPanel.Click?

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

    What replaces ChartPanel.Click?

    In NT 7, to wire up a method to capture clicks from the chart panel I used the code:

    ChartPanel.Click += clickHandler;

    In NT 8, ChartPanel.Click is missing.

    What is the recommended way to wire up a mouse click handler on the chart?

    Thanks,
    Gary

    #2
    The only way I've found is to use the ChartPanel.PreviewMouseLeftButtonUp event. For some obscure reason all ChartPanel's mouse events triggered by Left mouse button are being suppressed

    Comment


      #3
      You might want to have a look here?

      Comment


        #4
        Hello Gary,

        To add a mouse click listener and event use ChartPanel.MouseDown += clickHandler;

        sledge is correct with his link. There was an issue with Beta 2 where the left click is suppressed, and this will be corrected in Beta 3.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Segwin, 05-07-2018, 02:15 PM
        14 responses
        1,789 views
        0 likes
        Last Post aligator  
        Started by Jimmyk, 01-26-2018, 05:19 AM
        6 responses
        837 views
        0 likes
        Last Post emuns
        by emuns
         
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        6 responses
        3,293 views
        1 like
        Last Post jgualdronc  
        Started by Touch-Ups, Today, 10:36 AM
        0 responses
        13 views
        0 likes
        Last Post Touch-Ups  
        Started by geddyisodin, 04-25-2024, 05:20 AM
        11 responses
        63 views
        0 likes
        Last Post halgo_boulder  
        Working...
        X