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