Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Function key F5

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

    Function key F5

    what does F5 do?

    #2
    Hello gartonrd,

    Thank you for your post.

    The F5 key is used to refresh a window.

    Please let me know if I may be of further assistance.
    Christopher J.NinjaTrader Customer Service

    Comment


      #3
      where is the F5 key discussed in the help?

      Comment


        #4
        Unfortunately I am not aware of this key being included in a portion of the Help Guide at this time.
        Christopher J.NinjaTrader Customer Service

        Comment


          #5
          Automating the Refresh Key F5

          Hello,

          I want automate the refresh key, F5, in an indicator.

          What would be the code to activate the function key, F5 in the OnUpdate() section?

          Thanks

          Comment


            #6
            Unfortunately calling this programmatically is not supported in NinjaScript.
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Originally posted by rcsingleton View Post
              Hello,

              I want automate the refresh key, F5, in an indicator.

              What would be the code to activate the function key, F5 in the OnUpdate() section?

              Thanks
              Code:
              System.Windows.Forms.SendKeys.Send("{F5}");
              As NinjaTrader_Bertrand says, you cannot expect any support/help to make it work. It is standard C#, but there is plenty of standard C# that is not supported NinjaScript.

              You have to be very careful to make sure that you have suitable escape conditions, or you will find yourself in an endless loop if you use it in OnBarUpdate().
              Last edited by koganam; 02-17-2011, 04:02 AM.

              Comment


                #8
                Originally posted by koganam View Post
                Code:
                System.Windows.Forms.SendKeys.Send("{F5}");
                As NinjaTrader_Bertrand says, you cannot expect any support/help to make it work. It is standard C#, but there is plenty of standard C# that is not supported NinjaScript.

                You have to be very careful to make sure that you have suitable escape conditions, or you will find yourself in an endless loop if you use it in OnBarUpdate().
                Thank you for your response.

                The refresh key is something I could use. I will give it a try.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by PaulMohn, Today, 05:00 AM
                0 responses
                6 views
                0 likes
                Last Post PaulMohn  
                Started by ZenCortexAuCost, Today, 04:24 AM
                0 responses
                6 views
                0 likes
                Last Post ZenCortexAuCost  
                Started by ZenCortexAuCost, Today, 04:22 AM
                0 responses
                3 views
                0 likes
                Last Post ZenCortexAuCost  
                Started by SantoshXX, Today, 03:09 AM
                0 responses
                16 views
                0 likes
                Last Post SantoshXX  
                Started by DanielTynera, Today, 01:14 AM
                0 responses
                5 views
                0 likes
                Last Post DanielTynera  
                Working...
                X