Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NTWindow location in Chart Panel

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

    NTWindow location in Chart Panel

    Hello,

    I have created an NTWindow which always open to the top left of my screen.
    I want to locate the NTWindow to the top left of the CHART PANEL ( not the top left of the screen ).

    I have tried ntWindow.Top, ntWindow.Left without success.
    How to make it in relation to the CHART PANEL ?


    Thank you



    #2
    Hello blar58,

    For a window you can use the window property WindowStartupLocation if you want to change to something dynamic like the center of the screen or center of owner instead of the top left.


    To otherwise adjust its position you would use its Top and Left properties.

    If you wanted to place the window next to your chart like to the top left of it you could reference the windows Top and Left properties and then subtract your windows width and height from those values.

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    42 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    25 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    162 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    98 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    157 views
    2 likes
    Last Post CaptainJack  
    Working...
    X