HISE Logo Forum
    • Categories
    • Register
    • Login

    panel in front

    Scheduled Pinned Locked Moved Scripting
    9 Posts 4 Posters 317 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.
    • ulrikU
      ulrik
      last edited by

      Can you script which panel you want in front on others?
      I have 12 panels, I know you can setZLevel if they all are inside another panel but this is 12 panels without parents.
      Just like when you click with the mouse on one, it will come up front.

      effect slot.gif

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      ustkU VirtualVirginV 2 Replies Last reply Reply Quote 0
      • ustkU
        ustk @ulrik
        last edited by

        @ulrik so why don't you place them in a parent?

        Hise made me an F5 dude, browser just suffers...

        ulrikU 1 Reply Last reply Reply Quote 0
        • ulrikU
          ulrik @ustk
          last edited by

          @ustk yes that could be done, I just wanted to know if it was possible without?

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

          ustkU 1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @ulrik
            last edited by

            @ulrik no this isn't possible

            Hise made me an F5 dude, browser just suffers...

            ulrikU 1 Reply Last reply Reply Quote 1
            • ulrikU
              ulrik @ustk
              last edited by

              @ustk thanks!

              Hise Develop branch
              MacOs 15.3.1, Xcode 16.2
              http://musikboden.se

              1 Reply Last reply Reply Quote 0
              • VirtualVirginV
                VirtualVirgin @ulrik
                last edited by VirtualVirgin

                @ulrik How does the ZLevel work exactly?

                I have a few panels on a panel:
                Screenshot 2025-08-29 at 2.39.33 PM.png

                When I use:

                	// move to front and allow keyboard input when clicked
                	if (event.clicked)
                	{
                		this.setZLevel("Front");
                		this.grabFocus();
                	}
                

                It will move a panel to the front, but only once.
                Once I have clicked on all three panels I have here,
                they just stay in that ZLevel order and never change subsequently:

                Screenshot 2025-08-29 at 2.37.29 PM.png

                I must be missing some aspect of the feature.

                You can listen to my orchestral mockups here:
                https://www.virtualvirgin.net/

                ChazroxC 1 Reply Last reply Reply Quote 1
                • ChazroxC
                  Chazrox @VirtualVirgin
                  last edited by

                  @VirtualVirgin .loseFocus?

                  VirtualVirginV 1 Reply Last reply Reply Quote 0
                  • VirtualVirginV
                    VirtualVirgin @Chazrox
                    last edited by

                    @Chazrox I may be wrong, but I think that is only for keyboard input.

                    You can listen to my orchestral mockups here:
                    https://www.virtualvirgin.net/

                    ChazroxC 1 Reply Last reply Reply Quote 0
                    • ChazroxC
                      Chazrox @VirtualVirgin
                      last edited by

                      @VirtualVirgin I was suggesting to try .loseFocus on the lower windows similar to how you would script radio buttons) to see if that does anything. If Im not mistaken its grabbing focus for mouse input too so its pretty much bringing it to attention to all inputs so maybe its a glitch if u dont release the focus on the un-needed windows Idk. Who knows. Just an idea.

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

                      9

                      Online

                      1.9k

                      Users

                      12.4k

                      Topics

                      107.9k

                      Posts