Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: SliderValue[x] : carefull

This topic is old and might contain outdated or incorrect information.

I detected a little problem with fonctionality "SliderValue[0]", SliderValue[1]....

When the slider is at the top, SliderValue[0] does not correspond to maxi value: 4096.
It is always just under (near 4093) and never the same ?!?

Of course, we can manage this problem easily. But it is not normal.

:-)
 

Posted Wed 24 Aug 05 @ 10:14 am
kaleoPRO InfinityMember since 2003
The slider... so...

do you have a screen resolution and a skin that enable you to have a slider of 4096 pixels long?

If not, I think it may be normal that the skin control does not allow to have all the values between 0 and ... 4096
 

Posted Wed 24 Aug 05 @ 2:44 pm
I don't know how many pixels are on my screens. I have not enough time to count them ;-)
And I only have 10 fingers only :-)

More seriuosly, what I mean is: if I use the "SliderValue[x]" function, my plugin never returns the value 4096.
But with the same plugin and the same screen ;-)... and also the same mouse, if I use "value" directly instead of "SliderValue[]", it works.

I don't remember, but I wonder if I haven't this same problem when the slider was at the bottom with the value 0.
 

Posted Wed 24 Aug 05 @ 4:38 pm
not sure, isn't it supposed to be from 0-4095 ?
or 1-4096 ???

or is 0 a special value ?

makes no sense to me.

 

Posted Wed 24 Aug 05 @ 8:35 pm
I used 0 and 4096 value in a lot of plugin of mine
So I think value is to be from 0 to 4096
 

Posted Thu 25 Aug 05 @ 1:03 pm
djcelPRO InfinityModeratorMember since 2004
yes that's it 0 to 4096 so 4097 values
 

Posted Sat 27 Aug 05 @ 4:45 pm


(Old topics and forums are automatically closed)