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