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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    35 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    12 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    18 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X