我想通过改变滑块到 buttonMode
my_slider.buttonMode = TRUE;
但它没有显示 handsymbol
。是有任何其他方式来改变滑块到buttonMode?
在此先感谢。
解决方案我在我的项目之一,有类似的问题。试试这个肯定会工作。
// cmp_slider是组件实例
变种MC = cmp_slider.getChildAt(1); //这是一拖按钮。
mc.buttonMode =真;
mc.useHandCursor =真;
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;
上一篇:调用stage.width和stage.stageWidth之间的区别?区别、stage、width、stageWidth
下一篇:validateProperties()和invalidateProperties之间差()validateProperties、invalidateProperties