Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Panel Control

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

    Panel Control

    In NT7 I was able to use the following line to get the Panel object

    Screen.FromControl(ChartControl.ChartPanel)

    In NT8, the code above doesn't work. Neither does the following:
    Screen.FromControl(ChartControl.ChartPanels[0]) because it is a ChartPanel object. Where is the Panel object?

    #2
    Hello,

    Thank you for the post.

    The windows in NT8 have changed considerably and no longer use Winforms, instead WPF is used.

    You can access many of the charts options using the ChartControl, ChartScale and ChartPanel obljects in general. http://ninjatrader.com/support/helpG...n-us/chart.htm

    If you are trying to access the screen in which the windows is located, you would likely need to search for the WPF syntax for that as well, here is one example: http://stackoverflow.com/questions/2...f-window-is-in

    This would not be something I could specifically assist with further, but this information should allow you to experiment to find what is correct for what you are trying to do.


    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    670 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    379 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    111 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    575 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    582 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X