HISE Logo Forum
    • Categories
    • Register
    • Login

    Lock specified (index) point in table

    Scheduled Pinned Locked Moved General Questions
    17 Posts 3 Posters 420 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
      dev2222
      last edited by

      df44248a-7adf-4174-8f0a-65c61e9fd436-obrazek.png
      how can i lock the 1st and last point in the slider in table? please help!

      Content.makeFrontInterface(383, 326);
      
      const var t = Content.getComponent("Table1");
      
      t.getTableValue(0);
      
      // here i need to be the 1st and last point not dragable, no modifyable
      
      d.healeyD D 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @dev2222
        last edited by

        @dev2222 I can't think of a way to do it in scripting, but you could place an invisible panel over each node.

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

        1 Reply Last reply Reply Quote 1
        • D
          dev2222 @dev2222
          last edited by

          @dev2222 thats smart haha thanks, also is there way to change json vuales of the table?

          d.healeyD LindonL 2 Replies Last reply Reply Quote 0
          • d.healeyD
            d.healey @dev2222
            last edited by

            @dev2222 said in Lock specified (index) point in table:

            json vuales of the table

            Could you be more specific?

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

            D 1 Reply Last reply Reply Quote 0
            • D
              dev2222 @d.healey
              last edited by

              @d-healey a5c130b4-f08b-4176-b714-474fc7a385e0-obrazek.png
              i mean i need to set the border radius

              d.healeyD 1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @dev2222
                last edited by Lindon

                @dev2222 said in Lock specified (index) point in table:

                @dev2222 thats smart haha thanks, also is there way to change json vuales of the table?

                if you mean is there a way to have a set of "shape presets" then you can save and restore a base64 version of your table...

                HISE Development for hire.
                www.channelrobot.com

                D 2 Replies Last reply Reply Quote 0
                • d.healeyD
                  d.healey @dev2222
                  last edited by

                  @dev2222 For almost all properties available in the property editor you can use the .set() function.

                  For example .set("borderRadius", 7);

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

                  1 Reply Last reply Reply Quote 0
                  • D
                    dev2222 @Lindon
                    last edited by

                    @Lindon there is way to do that? haha tell me please it will be usefull for soon

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

                      @Lindon f1ff0cdc-7588-4c9d-9511-bc45d8eeffa2-obrazek.png 32049aca-ef75-4894-bc57-0c2416a3a066-obrazek.png that doesnt work for some reason

                      d.healeyD LindonL 2 Replies Last reply Reply Quote 0
                      • LindonL
                        Lindon @dev2222
                        last edited by

                        @dev2222 said in Lock specified (index) point in table:

                        @Lindon there is way to do that? haha tell me please it will be usefull for soon

                        look up the tableProcessor in the documentation - there's a lot of functions there that may be useful to you:

                        Link Preview Image
                        HISE | Docs

                        favicon

                        (docs.hise.dev)

                        but you can store and restore using Base64

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @dev2222 said in Lock specified (index) point in table:

                          that doesnt work for some reason

                          The error tells you why - Tables don't have a borderRadius property.

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

                          D 1 Reply Last reply Reply Quote 1
                          • LindonL
                            Lindon @dev2222
                            last edited by

                            @dev2222 said in Lock specified (index) point in table:

                            @Lindon f1ff0cdc-7588-4c9d-9511-bc45d8eeffa2-obrazek.png 32049aca-ef75-4894-bc57-0c2416a3a066-obrazek.png that doesnt work for some reason

                            Well it was David who suggested this but it needs to be a value in the table JSON and I dont see this attribute there:

                            [
                              {
                                "type": "ScriptTable",
                                "id": "LFOEditTable1",
                                "x": 2.0,
                                "y": 0.0,
                                "parentComponent": "LFOEditTableContainer1",
                                "width": 630.0,
                                "height": 290.0,
                                "processorId": "GlobalLFO1",
                                "bgColour": "33554432",
                                "itemColour": "1579554",
                                "itemColour2": "4287143901",
                                "customColours": "1"
                              }
                            ]
                            

                            What kind of table are you using?

                            HISE Development for hire.
                            www.channelrobot.com

                            1 Reply Last reply Reply Quote 1
                            • D
                              dev2222 @d.healey
                              last edited by

                              @d-healey im very new to hise i didnt knew table doesnt have border radius atribute. im using the basic one, but i need somehow to modify it a lot826d7faa-982a-41f7-9fd3-40d73f179860-obrazek.png
                              for example gradient fade down here or these, or the tension points, or lock the points i choose from index.

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

                                @dev2222 You need to use look and feel for that.

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

                                D 1 Reply Last reply Reply Quote 1
                                • D
                                  dev2222 @d.healey
                                  last edited by

                                  @d-healey is there any tutorial for that ? for the tables specifcly

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

                                    @dev2222 said in Lock specified (index) point in table:

                                    for the tables specifcly

                                    I don't think there are any specifically for tables. I've made a few laf and paint routine videos which are available on my YouTube channel.

                                    In general it's best not to focus on specific implementations but learn the general principles that you can then apply to your own specific needs.

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

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      dev2222 @d.healey
                                      last edited by

                                      okay thanks im gonna watch now

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

                                      8

                                      Online

                                      1.7k

                                      Users

                                      11.9k

                                      Topics

                                      103.5k

                                      Posts