Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Set button color with variable

    Scheduled Pinned Locked Moved
    Duet Web Control
    3
    5
    291
    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.
    • Rodrigue Richallandundefined
      Rodrigue Richalland
      last edited by

      Hello,
      I want to change the color of a btn button following viarable value. Someone know how to do to it ?
      For exemple, if the door is close, global.closedoor = 1 => the button "close is gray"

      if the door is open, global.closedoor = 0 => the button "close is red"

      ed0e8370-f71f-4472-9d76-7c132a1c35a6-image.png

      T3P3Tonyundefined MintyTreborundefined 2 Replies Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators @Rodrigue Richalland
        last edited by

        @Rodrigue-Richalland is this using btn-command?

        www.duet3d.com

        Rodrigue Richallandundefined 1 Reply Last reply Reply Quote 0
        • Rodrigue Richallandundefined
          Rodrigue Richalland @T3P3Tony
          last edited by

          @T3P3Tony
          Exactly. I use btn pluging to bluid my own interface.

          1 Reply Last reply Reply Quote 0
          • MintyTreborundefined
            MintyTrebor @Rodrigue Richalland
            last edited by

            @Rodrigue-Richalland This is not currently possible

            NodeDSF - Native Node-Red integration with Duet boards.
            BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
            ReleaseMgr - Duet update info inside DWC.
            Repo

            Rodrigue Richallandundefined 1 Reply Last reply Reply Quote 0
            • Rodrigue Richallandundefined
              Rodrigue Richalland @MintyTrebor
              last edited by

              @MintyTrebor
              Thanks for your help.
              Can I ask this fonctionnality for futur versions ?
              It will be so nice to custom correctly our owns interfaces.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA