HISE Logo Forum
    • Categories
    • Register
    • Login

    Way to disable button and not make the UI transparent?

    Scheduled Pinned Locked Moved General Questions
    7 Posts 2 Posters 430 Views
    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.
    • O
      optimistic
      last edited by

      I'm setting up a UI where there are several sets of buttons that interact with each other.

      One is a status light and the other is a button.

      I only want the button to be user editable but I want the light to change to match it.

      I can get the behaviour I want by linking the light and button and then disabling the light. But when I do so the light becomes semi-transparent.

      Is there another way to achieve this or turn off this behaviour where disabled components change their transparency?

      Here is a small screenshot of the UI if it helps demonstrate what I'm trying to achieve.

      Screen Shot 2022-11-15 at 3.11.01 PM.png

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @optimistic
        last edited by

        @optimistic Place an invisible panel over the thing you don't want the user to access.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        O 1 Reply Last reply Reply Quote 0
        • O
          optimistic @d.healey
          last edited by

          @d-healey This was my first thought and I tried this too but the clicks are passing through.

          Is there a setting I need to enable to block this?

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @optimistic
            last edited by

            @optimistic I haven't experienced that, are you sure the z-order was correct?

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            O 1 Reply Last reply Reply Quote 0
            • O
              optimistic @d.healey
              last edited by

              @d-healey I think so.

              I placed this new panel at the very top of my component list

              d.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey @optimistic
                last edited by

                @optimistic It needs to go below the control. You can change the panel's colours to see if it's covering the control or if it's beneath it.

                HiseSnippet 720.3ocsUsraSCDEclzLUMAZEUhO.urUpT4.kBRrfPdghf1FgKUrqZ53I0ih8LV1iawBwuA64OgOIVyF3N1NwtznPqkvKr78849zShTLdbrJBgacZZHGgeHwIUp856QERz3AH7VjinwZdjUNqdogz3XtKBiW6sFF3VMQYO+708n9TIiWxBgNSIX72KBD5RtS59Ngu+HpK+TQPEsOn6XlR1W4qR.7rFwFERYynWxOlZTqAAgWenqPqhbzTMOFzomxM0wScsLW+yDwhK74FhNHGvQ4rQ88D9tSlmqwHDt4jxLes7L+wjiDthE7Kq.OJSfUoEUqA3FqBRctGPBWARMygz1DGVjHTWJwfmGPFKgFxTJTpqBkbcQ3eP5q.Ej58Cny3ih.hEFryg116YAu18USSjLsPIsTxiUZ9Ixc1s8WZ2p8Waa82hlNcoxLgIR46yiVpXS2MZUFtiLI3BdzdVWQ8S3KTDR+aVSW+tUSY4YcEEUxwRg9jPdA8HkuqoVY991c.TQYyzKJPHnpNqSrUQmnWhVqjHA3jVjbhNnL3WcpG8wwCnZ5bGA9DhSHORKLoCd.+JXqHuE2hLfGOSqBgA79pfPkzf.by6PX+LBSveChVp4iuixxfEdX8bOr47QHpj6m4fMHYemY+bHeZ2zRhAcuV3p8LNsKFg73hK8zFpeks8dqoTX+P4l3S02bowbcnP.z0uwjpYbTFKzoUudbO1jrW4lzcEhaSlHzLukiwFKAiP+7+AFKt+rIY3zobltDfMIi9TcO17OB+GTIZg7xin5HgYN53j.G3rKiCQWBSGwl9cCyDUNssg1TAb3R2LheCOEB6XnwEB6LWHJfxhTmyx2jLW31HiCfIY1A8VveV.ZqEKPDh891n.3X64LlI8eBrltbadZMr4Y0vlCpgMOuF1bXMr4E0vlWtRaL+m6MIZUP95.vXxvrCYX7PIElrxlBQ+APqoR+
                

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                O 1 Reply Last reply Reply Quote 0
                • O
                  optimistic @d.healey
                  last edited by

                  @d-healey Ah, that's the issue then! I have it working now. Thanks!

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

                  17

                  Online

                  1.7k

                  Users

                  11.8k

                  Topics

                  102.6k

                  Posts