Hi list,
Is there a way to change the range of a vslider, or, in general, of a gui object, RUNTIME?
Thank you,
Tasos
ΓñçóéìïðïéΓ₯ΓΓ΄Γ₯ Yahoo! ΓÑñΓ₯Γ¨ΓΓͺÑôΓ₯ ôÑ Γ₯Γï÷ëçôéΓͺà ìçΓΓ½ ìÑôÑ (spam); ΓΓ― Yahoo! Mail ÀéÑèΓΓ΄Γ₯Γ© ôçà ΓͺÑëýôΓ₯Γ±Γ§ ÀáΓÑôà ðñïóôÑóΓΓ‘ ΓͺÑôà ôùà Γ₯Γï÷ëçôéΓͺþà ìçΓáìΓôùà http://login.yahoo.com/config/mail?.intl=gr
Tas Pas wrote:
Hi list,
Is there a way to change the range of a vslider, or, in general, of a gui object, RUNTIME?
yes and no.
a) one possibility is documented in the help-patches of the iemgui-objects (there is a [pd edit] which shows a lot of magic). i don't know of such a possibility for the normal numberbox | \ (this accounts for the "no" in the answer above)
b) apply a little math to the output of the slider. for changing the range of the slider; consider using the well known but artist threatening formula "y=kx+d" with x being the untransformed output of the slider. if you are more into math, you can also change the characteristics of the slider from linear to exponential to logarithmic to whatever-you-can-think-of.
mfg.adsr IOhannes