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 muratb35, Today, 03:36 AM
                      0 responses
                      3 views
                      0 likes
                      Last Post muratb35  
                      Started by fernlicht, Today, 02:16 AM
                      1 response
                      8 views
                      0 likes
                      Last Post NT-Roland  
                      Started by fernlicht, 04-12-2021, 06:01 PM
                      1 response
                      28 views
                      0 likes
                      Last Post NinjaTrader_PaulH  
                      Started by memonolog, Today, 02:10 AM
                      1 response
                      4 views
                      0 likes
                      Last Post cincai
                      by cincai
                       
                      Started by orenytz, Today, 12:25 AM
                      0 responses
                      8 views
                      0 likes
                      Last Post orenytz
                      by orenytz
                       
                      Working...
                      X