yes i know what you want. But i don't think you get what i was writing several times now. Think about the code i've written. It doesn't work if you just plain stupid copy paste it. Code never works if you copy paste it. Think about it. Think about what i am doing here. Just some hint: http://en.wikipedia.org/wiki/Cross-multiplication
Sorry, I really am trying to understand. So, if "result" ends up equaling a number after the getslider() computation, how exactly would I use the "result" variable for the hslider function? Doesn't the hslider function not accept a variable for the max argument, only a number that is not assigned to a variable?
Last edited by Ruben; 12/22/1406:20.
Re: is a variable max value in hslider/vslider possible??
[Re: Ruben]
#447617 12/22/1407:2712/22/1407:27
"For changing the slider range at runtime, use a min and max range of 0..1, and multiply var with the desired maximum value."
So, does this mean:
Code:
itm_qnt_ent_from = itm_qnt_ent_from * item_quant_entFrom;
// with item_quant_entFrom being the
// desired max value, and itm_qnt_ent_from
// being the helper variable.
...
hslider(450, 514, 150, "horizontalSlider.pcx", 0, 1, itm_qnt_ent_from);