- WindowScrollWheelFcn
- WindowKeyPressFcn
- WindowKeyReleasedFcn
App designer: Enable mouse scroll to change value on slider
28 次查看(过去 30 天)
显示 更早的评论
In the app designer: Is it possible to change the value on the slider by scrolling? Or possibly by using arrows on the keyboard?
0 个评论
采纳的回答
J. Alex Lee
2020-2-25
Take a look at the UIFigure's following properties:
If you need these only to work while the mouse is over the slider element, you can test the mouse's location with hittest().
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!