快速登录:  

Forum: VirtualDJ Plugins

话题: SliderValue[x] : carefull

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

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.

:-)
 

发表时间 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
 

发表时间 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.
 

发表时间 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.

 

发表时间 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
 

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

发表时间 Sat 27 Aug 05 @ 4:45 pm


(陈旧帖子或论坛版块会自动关闭)