Announcement

Collapse
No announcement yet.

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 Geovanny Suaza, 02-11-2026, 06:32 PM
                      0 responses
                      649 views
                      0 likes
                      Last Post Geovanny Suaza  
                      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                      0 responses
                      370 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by Mindset, 02-09-2026, 11:44 AM
                      0 responses
                      109 views
                      0 likes
                      Last Post Mindset
                      by Mindset
                       
                      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                      0 responses
                      574 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by RFrosty, 01-28-2026, 06:49 PM
                      0 responses
                      576 views
                      1 like
                      Last Post RFrosty
                      by RFrosty
                       
                      Working...
                      X