HISE Logo Forum
    • Categories
    • Register
    • Login

    Passwort Protection "Enter E-Mail"

    Scheduled Pinned Locked Moved Scripting
    41 Posts 5 Posters 2.5k 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.
    • T
      treynterrio @d.healey
      last edited by

      @d-healey If I want do the same with the Activation Button that there is a Panel in front of it that you couldn't click before you've not entered a Serial what would the definition for this?

      inline function onSerialInputControl(component, value)
      {
      Panel3.showControl(????????????(value));
      }
      const var Panel3 = Content.getComponent("Panel3");
      Panel3.showControl(false);

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

        @treynterrio I'm not sure what you're asking

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

        T 1 Reply Last reply Reply Quote 0
        • T
          treynterrio @d.healey
          last edited by treynterrio

          @d-healey oh I thought I'd response to the post.

          you've send me this :

          const var Label1 = Content.getComponent("Label1");
          Label1.setControlCallback(onLabel1Control);
          
          inline function onLabel1Control(component, value)
          {
          	Panel1.showControl(Server.isEmailAddress(value));
          }
          
          const var Panel1 = Content.getComponent("Panel1");
          Panel1.showControl(false);
          

          and I want do the same for the Serial Label only when you Input the Serial you can click activate.

          When the Serial Number is entered enable the Panel

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

            @treynterrio Just do the same but replace Panel with Button.

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

            T 1 Reply Last reply Reply Quote 0
            • T
              treynterrio @d.healey
              last edited by

              @d-healey I tried this but its not Server.isEmailAdress it need this for the License

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

                @treynterrio Oh right, how are you validating the license?

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

                T 1 Reply Last reply Reply Quote 0
                • T
                  treynterrio @d.healey
                  last edited by

                  @d-healey said in Passwort Protection "Enter E-Mail":

                  Oh right, how are you validating the license

                  setvalidLicense?

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

                    @treynterrio There is no built in functionality for this. You're creating your own system here so you need to do your own validation.

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

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      treynterrio @d.healey
                      last edited by

                      @d-healey something like this?
                      var licenseInput = Content.getComponent("licenseInput");
                      licenseInput.set("textChangedCallback", function() {

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

                        @treynterrio Not really. Only you know how you want to validate your license. You have to write a function to do that, then worry about the GUI side of it.

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

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          treynterrio @d.healey
                          last edited by

                          @d-healey ok this sounds to difficult for me :D

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

                          19

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          102.8k

                          Posts