フィルターのクリア

App designer: Enable mouse scroll to change value on slider

11 ビュー (過去 30 日間)
Kaia Sørland
Kaia Sørland 2020 年 2 月 25 日
回答済み: J. Alex Lee 2020 年 2 月 25 日
In the app designer: Is it possible to change the value on the slider by scrolling? Or possibly by using arrows on the keyboard?

採用された回答

J. Alex Lee
J. Alex Lee 2020 年 2 月 25 日
Take a look at the UIFigure's following properties:
  • WindowScrollWheelFcn
  • WindowKeyPressFcn
  • WindowKeyReleasedFcn
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 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by