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

TextBox and Richtextbox

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

    TextBox and Richtextbox

    Are either of these allowed in NT?
    If so what are the using directives as System.Windows.Controls is not recognized.
    Thanks

    #2
    Mindset,

    Unfortunately this is beyond the level of support we can offer. Hopefully if someone else has succeeded in using these perhaps they would jump in to help.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Try System.Windows.Forms

      Comment


        #4
        Forms

        Hi Hemlock

        Already tried that and no joy.

        Comment


          #5
          oops

          Sorry Hemlock

          it was TextBlock not TextBox I was looking for.
          My bad.

          Comment


            #6
            Hello Mindset,

            TextBlock is .Net 3.5 and not supported by current NT software. I guess, you have a problem with these features.

            Regards
            Ralph

            Comment


              #7
              Richtextbox

              Thanks Ralph - but richtextbox is in net 2.0 which I believe is what NT uses?
              Is Nt v7 likely to move to .NET 3.5?

              Comment


                #8
                Yes, I found RichTextBox in .Net 2.0 under System.Windows.Forms.
                You expect it in System.Windows.Controls, are you sure that is correct?


                Regards
                Ralph

                Comment


                  #9
                  Doh!

                  Inheritance Hierarchy
                  System.Object
                  System.MarshalByRefObject
                  System.ComponentModel.Component
                  System.Windows.Forms.Control
                  System.Windows.Forms.TextBoxBase
                  System.Windows.Forms.RichTextBox

                  Sorry - I am having a bad day - trying to do 3 things at once and achieving less than nothing.

                  I shall regroup and try to get RichTextBox working.

                  Comment


                    #10
                    Mindset,

                    NT7 will be on .NET 3.5.
                    Josh P.NinjaTrader Customer Service

                    Comment


                      #11
                      stumped

                      I have tried to get textbox to work but it still seems to require a reference that I can't give it.
                      As NT7 should be beta in the next couple of weeks and that uses NET 3.5 it seems pointless to try and solve it now so I shall wait.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by rtwave, 04-12-2024, 09:30 AM
                      4 responses
                      29 views
                      0 likes
                      Last Post rtwave
                      by rtwave
                       
                      Started by yertle, Yesterday, 08:38 AM
                      7 responses
                      28 views
                      0 likes
                      Last Post yertle
                      by yertle
                       
                      Started by bmartz, 03-12-2024, 06:12 AM
                      2 responses
                      21 views
                      0 likes
                      Last Post bmartz
                      by bmartz
                       
                      Started by funk10101, Today, 12:02 AM
                      0 responses
                      6 views
                      0 likes
                      Last Post funk10101  
                      Started by gravdigaz6, Yesterday, 11:40 PM
                      1 response
                      9 views
                      0 likes
                      Last Post NinjaTrader_Manfred  
                      Working...
                      X