Tips:
1. WindowScrollWheelFcn to catch mouse wheel scroll event.
2. Tag UI elements for use mouse wheel scrolling.
3. If there are multiple tabs, change the tag array for mouse events.
4. Loop tagged UI elements to match the current mouse pointer, getpixelposition(h,recursive) is usefull for finding the absolute position of h.
5. The height of a slider is 3, so it is not easy to cover it with mouse pointer.
인용 양식
Y.Yang (2025). Change value with mouse wheel scrolling (https://kr.mathworks.com/matlabcentral/fileexchange/80071-change-value-with-mouse-wheel-scrolling), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0 |
