HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. prehm
    3. Topics
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 11
    • Groups 0

    Topics

    • P

      combining paths

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      1
      0 Votes
      1 Posts
      31 Views
      No one has replied
    • P

      noob question: UI component.set()

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      7
      0 Votes
      7 Posts
      267 Views
      HISEnbergH

      @prehm there's been a few posts floating around on the topic of panels lately. Hypothetically the panel can store both UI and control data. In practice, for control data, it is best to use another component and reflect UI changes in the panel. So in your case, maybe try using a hidden knob for your four-button state, and using mousecallbacks and a paint routine on the panel to interact with and change the state of the knob.

      You could bypass the knob altogether, I sometimes find issues with it when trying load presets or initialize the project. Really depends on what you are trying to do though.

      Link Preview Image saveInPreset not working for panel data?

      @VirtualVirgin You could do it like this which might make it seem like it makes more sense const panelObj = Panel1.getValue(); Console.print(panelObj.test1);

      favicon

      Forum (forum.hise.audio)

      Link Preview Image Is panel.data persistent?

      I thought it was, but this snippet seems to show otherwise. HiseSnippet 984.3ocsVstaaaCElxwpq1asXEnO.B5WJaFAVdtNdscXcwIY0aKIF0YA6eELTGGSDIRAR5rYTzm08Jr2fsC0k...

      favicon

      Forum (forum.hise.audio)

    • P

      which data container would you recommend for this use case?

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      16
      0 Votes
      16 Posts
      363 Views
      P

      @d-healey
      Thanks a lot, some fresh ideas is really all I need 🙃