Button default value
-
@TiPa said in Button default value:
, it's almost always the factory value.
What's a factory value?
@TiPa said in Button default value:
When I compile the graphical status of my buttons and sliders is never resetted.
If you have them set to saveInPreset enabled they will retain their last value.
-
@d-healey said in Button default value:
@TiPa said in Button default value:
What's a factory value?
It's the default value when you add the component for the first time.
@TiPa said in Button default value:
When I compile the graphical status of my buttons and sliders is never resetted.
If you have them set to saveInPreset enabled they will retain their last value.
That was my first thought, but yes it's disabled
I must have done something wrong, I am a beginner, but I can't find out what...
-
@TiPa said in Button default value:
but I can't find out what...
Post a snippet of your project
Export >> HISE snippet
-
@d-healey
It's a very early prototype, basically to learn HISE :)HiseSnippet 9677.3oc68z0abbjbKkzH6cjhiNeeFf7P6M4NuTjZE2keIIdxhT7CalSTjVjR1NNNmGtSuji0ryrdlYEIch.LBR.RdOH.4s7X7Og.DfX.mGRdK.407vEjmNjW7+fjppt6Y5dmYVtbs0IIiSFVhS+Q0UWc0UUcUU2bmnv1733vnJSTcuS5wqLwks18jfjCW8PGufJatVkItjkSTuDdbxLMqb2S54DGycqLwDm+swFLQ0KTg9yWem6536DzlmUTkJOJzqM+ddc8RxJcmk+Ed99a33x2yqqVqma4MaGFrZneXe.YNu0LU54z9wNGvuuC1ryYUYhKttqWRXztIN.5TYhKb2P2S18vviBDs+Qdwd66ywOZVYW.Phh2Hz2EwXrzJqdnmu6NpIcbE.n6jQBNufD7Cr1xy0Ks7LRwUnJXY8PmdLw4LQuyafdM0QuYzPuBPoKngRVBT56Ysa6HudIY0f3y2GWqZycWIpG+fC7bRLQoyc+9c202ykGsCPJATxZhuOPoEPpx49aVx55W8prU8Ca+XVLAHlFjrs26PuXVL0ZlW2d97t7fjXlS.yIqYr9wdAGvRNjyZSP5fHOWVaGe+8gAkE1gpJIxIHtWXTB6Pm.WedTCa6MSfh83wrjPVDueLm0MLNQ0idNQvBeBOJVURbBB92YycW2X7qyOtMGvvNvOyONLwqM6HtWjKz99c5XmbnSBK9vv99tAuIN7OAFGf6i4ASp.Bvg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mw59udmrmKU8seuTspLViA1yRGCUkEtx+CUmRGOPd1oz+gz2cBi59hxgzapC4Apqko4KI8CLatnHiVgSuMfomV6d0kUE1RuPPZuAvfuMfTFKHIET732J9sU01wsgIKIQViebm99wbRhRS8NlUbK8heGmHWSNZPOvyD+DbweqeB9MoeBZ8a8Svu0OAur3L2gu6CDA9h8p3O1BDE2R7q1P1ym0xWXsc3LNFccZGE9KaKtPV3l9WkJAl2ANjBcqsvuYMy+L7gO1r+x1sMAUtN1Zb63riaGmab637iaGWXb63hiaGuwo2QTi9J8SB6J1a.V1ry5zMbahITun+v1jJ++fqmL2L
-
@TiPa said in Button default value:
That was my first thought, but yes it's disabled
In your snippet it's enabled for every control (the green star indicates it)
I should have said before, post your snippets within code tags so they only take up a single line.
-
@d-healey
Actually I work on the 4th script "MyArp3"
The other are supposed to be deactivated but maybe they interact between each others ?
In "MyArp3" it's disabled.
-
@TiPa In that case you need to set the button's value to what you want it to be in on init, looks like the defaultValue property doesn't do anything for buttons.
-
@d-healey
Thanks, it works !
Now is there a way to trigger automatically the associated callback when I setValue a component ? Or should I call the function separately ? -
@TiPa If you enable saveInPreset the button should trigger automatically after on init completes - although I'm not sure if that only applies to components on the main interface script...
To do it manually you can the
.changed()
function after setting the value. -
@d-healey
Perfect, thank you !