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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    135 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    293 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    238 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    333 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    171 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X