• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Window close button

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

  • NinjaTrader_Jesse
    replied
    Hello ruppschtaler,

    Thank you for the reply.

    Yes, You would need to create the correct type of window for it to be styled. In this situation, you would need to utilize the same syntax shown in the addon sample.

    All of the interfaces you see in the addon are optional, but you would need to use NTWindow specifically for styling to occur. Most other standard controls are styled aside from Window.

    Please let me know if I may be of further assistance.

    Leave a comment:


  • ruppschtaler
    replied
    Hello Jesse,

    Thanks for your quick reply.

    Since I don't need workspace persistance or tab pages for this new properties window I have choosen a standard WPF window.
    Is this the reason for the wrong-styled system buttons?

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello,

    Thank you for the post.

    I wanted to check, what kind of window is being used, is this an NTWindow?

    You can duplicate the window syntax from our addon sample to generate a new empty window, is this what you have done or had you used a standard WPF Window?



    I look forward to being of further assistance.

    Leave a comment:


  • ruppschtaler
    started a topic Window close button

    Window close button

    Hi there,

    Additional windows opened in Add-Ons (for example for property settings) display their window close button in a different style and with a different icon (see attached screenshot).
    How can I use NT's style and icon in my Add-On?

    Thanks in advance!
    Attached Files

Latest Posts

Collapse

Topics Statistics Last Post
Started by NtFan, Today, 10:34 AM
0 responses
2 views
0 likes
Last Post NtFan
by NtFan
 
Started by stowed4sea, Today, 09:28 AM
2 responses
12 views
0 likes
Last Post stowed4sea  
Started by evanp90, Today, 09:28 AM
0 responses
9 views
0 likes
Last Post evanp90
by evanp90
 
Started by andrewtrades, Today, 09:16 AM
0 responses
5 views
0 likes
Last Post andrewtrades  
Started by xmanjames, 03-30-2020, 04:22 PM
16 responses
152 views
1 like
Last Post NinjaTrader_ChristopherS  
Working...
X