HISE Logo Forum
    • Categories
    • Register
    • Login

    Attach broadcaster to CB item click

    Scheduled Pinned Locked Moved General Questions
    18 Posts 5 Posters 593 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.
    • d.healeyD
      d.healey @ustk
      last edited by

      @ustk said in Attach broadcaster to CB item click:

      This panel can be closed/replaced by another one

      Can you put your combo box into a default state when this happens?

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

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @d.healey
        last edited by

        @d-healey this is what I tried following @Lindon idea of setting the Cb to 0, but the item is then unselected leading the "main area" to reset and don't show the selected item anymore (also the item itself loses the "ticked" property)

        Can't help pressing F5 in the forum...

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

          I could build my own cb using panels but I have so much to rework for this...
          If a broadcaster is not interesting here for anyone else then I might go down the panel route, otherwise I can wait a wee bit :smiling_face_with_halo:

          Can't help pressing F5 in the forum...

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

            Can you make a little snippet that demonstrates the setup?

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

            ustkU 1 Reply Last reply Reply Quote 0
            • ustkU
              ustk @d.healey
              last edited by ustk

              @d-healey here ya go

              HiseSnippet 1207.3ocsWstSibCE1SfAQR6RYk5CfE+JHQyBa2tsRUUkMWfFsjKJI6R29mcclwIiKyXOx1CPTEuZ8MouC8Mfd7bIYBjDfHZ9QTN2r+Ne93iOoqT3PUJgDYUbvjPJx5qs6Ogq8p4QXbTy5HqcraQTZpDmnp5jPhRQcQVVabpQgUwMQwe92esJwmvcnyTgPeTvbnmwBX5YZ6d76Y99mPboCXA479MG2zQvqI7EQ.d1v9PTHw4BxXZahwsB1HqsZ3xzBYeMQSUfOUEt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Dlf6vUNA2iEhuztKS63sXLVXAXD5z7+AFSm68E1MfQibzy.3l1m76q6PtOv12SDYlUqEQKYPAkc6nf9PQrCE1cNbuPYNuKXt+jHenQ1v.8ob2XgagOoFOxHakZ7nLin.hiT7YmjWQLSVucrF.S73+HQQ3ez.xPWy3WVxyyAP04mcbleotWfudcC76W2.ey5F3OrtA910MvebcC7md3.MMOdWjVDjbsAgZ0sQ7SwVVMh6tDWsh9O.xxyQTB
              

              Can't help pressing F5 in the forum...

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

                @ustk So when I click show green. Why don't you want the combo box to reset to say "SELECT TO SHOW RED"?

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

                ustkU 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @d.healey
                  last edited by ustk

                  @d-healey because I still wants it to be activated with the selected item
                  The buttons and the combobox are not related in the project, they just show a different panel when needed

                  Can't help pressing F5 in the forum...

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

                    @ustk From a UX perspective, if I press a button and it visually affects something I selected from a combo box, then isn't it related? I think I'm not seeing enough context here to understand exactly why you need this behaviour.

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

                    ustkU 1 Reply Last reply Reply Quote 0
                    • ustkU
                      ustk @d.healey
                      last edited by

                      @d-healey yes it makes more sense in the real context

                      Can't help pressing F5 in the forum...

                      Christoph HartC 1 Reply Last reply Reply Quote 1
                      • Christoph HartC
                        Christoph Hart @ustk
                        last edited by

                        @ustk why don‘t you decouple the popup from the combobox value callback and then add the logic as mouse callback broadcaster to it? It will then show the popup whenever you click on the combobox no matter what is selected (or was selected).

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

                          @Christoph-Hart I tried this using the doc example but I wasn't convinced I could do it, so now you say so :thumbs_up: 😉

                          Can't help pressing F5 in the forum...

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

                          27

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          102.8k

                          Posts