Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reset InstrumentSelector?

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

    Reset InstrumentSelector?

    When initially ready for use, an InstrumentSelector shows Select as the value of the selected item, and then one can select from the available instruments.

    Having selected an instrument, how does one reset the InstrumentSelector to once again display Select and essentially have no selected instrument, exactly as when first used?

    Thanks.

    SOLVED (apparently): I eventually discovered that setting the StringValue property to an empty string resets it.

    If this is not the "correct" way, please advise. Thanks.
    Last edited by jeronymite; 05-18-2020, 06:53 PM. Reason: Found a solution.
    Multi-Dimensional Managed Trading
    jeronymite
    NinjaTrader Ecosystem Vendor - Mizpah Software

    #2
    Hello jeronymite,

    Thank you for the post.

    If setting the property that you have to an empty string resets it to the first state I would say that is likely going to be the solution. You may also try setting the selected instrument to null but what you have is likely fine. I don't see any issue with what you are doing based on the description, if that does not work in some way it will only affect your selector so there is not really any concern of that being a problem. If you see an issue surrounding that can you provide a small sample of what property you set so I can test that on my end?

    I look forward to being of further assistance.

    Comment


      #3
      i have followed you and i'm fine not to have detected the bug or something.



      ___________________________________
      sonidos mp3 gratis populares
      Last edited by CatherineLamb; 08-10-2021, 10:43 PM.

      Comment


        #4
        I have yet to move and I have to find someone with experience for SOLVED

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        43 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        20 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        30 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        47 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        38 views
        0 likes
        Last Post CarlTrading  
        Working...
        X