Label1+ label2 = label3
-
hello. I would like to add 2 label values in a label. label1 gives the value of knob1, label 2 gives the value of knob 2. so far no problem with. set("text", value). now I would like label3 to display (label1 + label2). any idea? :) thanks
-
@yall Somewhere in your callbacks:
Label3.set("text", Label1.get("text") + " - " + Label2.get("text"));
-
@ustk
I tried this before, it works but it doesn't update automaticallyHiseSnippet 1095.3oc0W8zaaaCEmxwJs1asaYne.Dxt3hEDXqz0NfhglEmjBi1jZLmlsALfBZIpXBSQZHQkE2fdaeS188UX479.rK6xJ54MzS6Z1ijxVR4OxwFXGp.R.Ieue+3u2iRO9b2HgGINVDgrpcv3QDj0Ga2aLWNn8.Lki5rMx5t16gikjHGyRaMdDNNl3irrV5opErpUEoed+S1ByvbOR1RHzgBpG44zPpLa0ta9LJisK1mb.MLm2OXyNdBdaASj.5YI6lnQXug3iH6iUtUwFYs7N9ToHpmDKIwfOaI7G2af3m3F+OjFS6yHpIsP8.hLKiZOfx76NIViQHqpcyh7kLQ98r2i5SmtdVF3S0FbxPjOGXUoLI0ZNjjUNIU0HoUr64EQGIyrnzyGY2gCGHAXHUmWJFeQUd6R1sEfGb45g3gjcifISQz3gMatlC7u6+350gzcrz4Xbjyy3h9sb9ZmI.OhHaKBGI3vjFqpst5kQ3VJBWEhL.cwbB652CiY8ljCzyw8KCjw7ETldQ2xwbAsoWaixgrwE1liwrDxT8YFnvcnZ8FEnOyU2It5dMtJERLCbJO6eQdBdbciZVOl.JSRNQt5ZFT5TGkynbhSPB2SREbGAWe3ohqHAqg2jfZMCm2u9o0Skdd91CKGrdjHg62v3lh62.+U56GJJR2n1XFqO70aih6uVhWiFcKSi0RSZyRj0lgJcKSktETY854D39BI4E7FZoT+M0ctnoffqzVJgLRzUZVU+KpLfM3Ig8IQ4SDJGgBDEq5r7MqpimIujyQAuCmJewHR57cELeU0D03KWiBklXgpUURUH3pTWq5to0p5wn9jHDEH4V15ydjV7o04c9wO4yOCciA6V.7e8Ku28LzK6rMVhUULSkCHwQjHIUkIr1lbL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t9rHbWJBWIhB.cwLR3hig1rJHFfdBt+x.oMOkxTa5tbLSoM0daubHaOUXNCGlQlnO8eHwcrb+FknuvU2wt5t.WEbANDbxj8uvjfGVWqlsRIfxDjWIVeSMJ0QGkERYDmAYLeAkyb3L0GOYdkvCa3ONo1Ty4F0+854R2juCwhgakvyXAMztswbCaiYxZPqyjdRvuEz1RuaI4MWjswgg8gp.MJqcU5sf7ycY4WsbEcYIXsbOudxQ2kkitkxw50MRui3BxSYMTIR82V2YZSCFLWa4DFRRlqYYU3jkArAKKpOIw7XT5HTZpb8N6EWuyrbru9bwvQNqCiJdZLgsnhzn7CSn1XkbUAtJTUFucdkwdgz.RBhBE.+Da0sEjRvi6v7l6U8bzUFraIv+we8cetG5G5rKVfk0mykCHwXRhfJydqcImAM6zUqqYuKI8TAOF5YM4iOP8kp3WMoe3KN0azjEm+KdPS33dzWOVQd+4qe+ihLa.+SmGgKfi1xC8QDYWyHGZF4e8+Xjs0Q9V4QV8bQE3aZqeNYD43XiHGm4Ie2ALX8OWbwEeLbZlM242L37EubBm1H00pqLmaavomoN+vax4r1MpLdtGCdqVlWUusbd084L387HCde2AdnYmC.l.gGjEhEkGKQNKVtA3saoYAj86YoTwHyY09eaVkqpDuqcWpve370Xk4nQ4S8qAMlOg2sr2av.hunPfUs2+GudFmC887LAkcBznIgBersOJKpGLjqOAhNCtBHqcZIu6jutobs7DnGgEnV.2+uH2XK4ZqbisFaDEg8S3O2WWdSNC4MU6.ZhoFetFLGOr1YphhxehfQZetueYplAn6pBb6UE38WUfe4pB7AqJvuZUA90WNP4+ww2lI3Q5mMHzgc2S0GxxZOFFtAptsh9Wv5QdyL
that works but its not really "secure" you should get the knob values and round those into the label:
HiseSnippet 1045.3ocsWE0aaaCDlxwZKVasnEn+.DxSNXAA1JccCHnndwIYvHMoFycAaurFZI5XtHQpIQkVmsBrG1Oj8Sw+U19Er2G1xNRJaQ4X6z30pGBBu69t66NRd7b2DtOIMkmfrp8xQwDj0mZ2aDSLr8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