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 algospoke, Today, 06:40 PM
                      0 responses
                      2 views
                      0 likes
                      Last Post algospoke  
                      Started by maybeimnotrader, Today, 05:46 PM
                      0 responses
                      6 views
                      0 likes
                      Last Post maybeimnotrader  
                      Started by quantismo, Today, 05:13 PM
                      0 responses
                      6 views
                      0 likes
                      Last Post quantismo  
                      Started by AttiM, 02-14-2024, 05:20 PM
                      8 responses
                      168 views
                      0 likes
                      Last Post jeronymite  
                      Started by cre8able, Today, 04:22 PM
                      0 responses
                      8 views
                      0 likes
                      Last Post cre8able  
                      Working...
                      X