fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Edit Field Reset/Clear/Zero Out Button

    Questions & Answers
    2
    5
    193
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      FreedomFlyer last edited by

      Can someone please help me figure this simple task out?
      I want a button that I can push to quickly zero out an edit field.
      I have attached a small program showing where I am at. It has no problem editing the variable I just can't get it to change the number value in the Edit Field itself. So the old number stays there even though the variable was changed.
      A solution would be greatly appreciated as I could find no example of this.Clear Edit Field Button.mq4 Clear Edit Field Button.ex4
      Thanks,
      Josh

      1 Reply Last reply Reply Quote 0
      • jstap
        jstap last edited by jstap

        Add a shared link rather than the EX/MQ file and this might help if you name the object you can use this to redraw using the reset value.

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        1 Reply Last reply Reply Quote 0
        • F
          FreedomFlyer last edited by

          Thanks for your reply
          Here is the shared link with some changes :
          https://fxdreema.com/shared/NLBSy1VTc

          1 Reply Last reply Reply Quote 0
          • jstap
            jstap last edited by

            Technically this should work but, are you trying tis on backtest or live? I would just redraw the text box by copying the block from on init to the used tab. Is it working?

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

            1 Reply Last reply Reply Quote 0
            • F
              FreedomFlyer last edited by

              Thanks, my son found a solution:
              Just ad a delete block and draw edit field block. Problem solved.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              Online Users

              L
              A
              S

              10
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors