Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Blue mouse enter effect on Button and ComboBox

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

    Blue mouse enter effect on Button and ComboBox

    Hey guys,
    how to disable the blue mouse enter effect? I just want the gray one.

    Click image for larger version

Name:	gif1.gif
Views:	86
Size:	223.5 KB
ID:	1235323

    And also, how to give my TextBlock the color (2)?

    Click image for larger version

Name:	img1.png
Views:	57
Size:	8.2 KB
ID:	1235324

    to give the color of (1), I could use​:
    Application.Current.FindResource("FontLabel") as Style​

    #2
    Hello rafaelcoisa,

    Thanks for your post.

    We do not have any documented/supported methods or functions for disabling the 'blue mouse effect' that you mentioned. This would likely require custom C# logic and goes beyond the support we are able to provide.

    There are also no documented/supported methods or functions for changing the color of the Indicator Properties text color through NinjaScript. You could likely set the color of these items by creating a custom NinjaTrader Skin or modifying the Blueprint.xml file of the skin you are using. Skin files could be located in the Documents\NinjaTrader 8\templates\Skins folder.

    See this help guide page for information about creating your own skin: https://ninjatrader.com/support/help...r_own_skin.htm

    Please let me know if I may assistt further.
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Hey NinjaTrader_BrandonH,

      I'm want to match my custom window's style to ninjatrader's style, not modify ninjatrader's style.

      I'm trying to figure out how to select the color of item 2 (I know how to do for item 1​), so if I change ninjatrader style, the new color of my control will be the correct one.
      And the button and the combobox are also part of my custom window.
      Is there anything documented about this? Ninjatrader controls do not have this blue effect.​

      Thanks​

      Comment


        #4
        Hello rafaelcoisa,

        Thanks for your note.

        This is no document or supported method or function to modify these objects in NinjaScript and this goes beyond the support we can provide in the Support department at NinjaTrader.

        The NinjaTrader window styles are set in the Skin template's xml files located in the Documents\NinjaTrader 8\templates\Skin folder.

        Yes, modifying a skin template will apply the modifications to a custom NinjaScript AddOn.

        This forum thread will be open to other community members to share their insights on unsupported code to accomplish this.

        Let me know if I may assist further.
        Brandon H.NinjaTrader Customer Service

        Comment


          #5
          Hey, NinjaTrader_BrandonH,

          In the file you mentioned has the name of the resources. I found what I needed for my colors.
          I just need to know more about this blue effect.​

          Comment


            #6
            Hello rafaelcoisa,

            Thanks for your note.

            As stated in post # 2: "We do not have any documented/supported methods or functions for disabling the 'blue mouse effect' that you mentioned. This would likely require custom C# logic and goes beyond the support we are able to provide."

            This forum thread will be open to other community members to share their insights on unsupported code to accomplish this.

            Let me know if you have further questions.
            Brandon H.NinjaTrader Customer Service

            Comment


              #7
              Hey, NinjaTrader_BrandonH,

              UseOverflowMenu = true;

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by George21, Today, 10:07 AM
              0 responses
              1 view
              0 likes
              Last Post George21  
              Started by Stanfillirenfro, Today, 07:23 AM
              8 responses
              23 views
              0 likes
              Last Post Stanfillirenfro  
              Started by DayTradingDEMON, Today, 09:28 AM
              2 responses
              15 views
              0 likes
              Last Post DayTradingDEMON  
              Started by navyguy06, Today, 09:28 AM
              1 response
              6 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Started by cmtjoancolmenero, Yesterday, 03:58 PM
              8 responses
              32 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Working...
              X