改变滑块到buttonMode滑块、buttonMode

2023-09-08 13:48:53 作者:余生独自流浪

我想通过改变滑块到 buttonMode

  my_slider.buttonMode = TRUE;
 

但它没有显示 handsymbol 。是有任何其他方式来改变滑块到buttonMode?

在此先感谢。

解决方案

我在我的项目之一,有类似的问题。试试这个肯定会工作。

  // cmp_slider是组件实例

变种MC = cmp_slider.getChildAt(1); //这是一拖按钮。
mc.buttonMode =真;
mc.useHandCursor =真;
 

教你ZBrushR 4R7怎样自定义按钮颜色

I am trying to change the slider into buttonMode by using

my_slider.buttonMode = true;

but it doesn't shows handsymbol.Is there any other way to change the slider into buttonMode?.

Thanks in advance.

解决方案

i had the similar issue in one of my project. try this it will definitely work.

// cmp_slider is component instance

var mc = cmp_slider.getChildAt(1); // it is a drag button.
mc.buttonMode = true;
mc.useHandCursor = true; 

 
精彩推荐