HISE Logo Forum
    • Categories
    • Register
    • Login

    Viewport refresh

    Scheduled Pinned Locked Moved General Questions
    4 Posts 3 Posters 359 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.
    • C
      coreyu21
      last edited by

      Can the viewport be updated after the init has been ran? I have the viewport being changed on a callback, it doesn’t update when using the dll, but updates in the hise program. Any thoughts?

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

        @coreyu21 I've noticed that both the Viewport and Comboboxes doesn't respond to

        Vp.set("items", list with stuff.);
        

        when the "items"-list is already set earlier,
        instead I first clear the items and then set the updated items list back like

        Vp.set("items", "");
        Vp.set("items", list of stuff);
        

        It could have something to do with how I have written the code, I don't know, but this is the way I do it nowadays, I don't remember if it's always been like that

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

        C LindonL 2 Replies Last reply Reply Quote 2
        • C
          coreyu21 @ulrik
          last edited by

          @ulrik thanks so much. That was the fix!

          1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @ulrik
            last edited by

            @ulrik -- yep always that way...

            HISE Development for hire.
            www.channelrobot.com

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

            54

            Online

            1.7k

            Users

            11.7k

            Topics

            101.8k

            Posts