Holding the mouse button in GUI
조회 수: 3 (최근 30일)
이전 댓글 표시
hi, I am wrting a program in MATLAB GUI, in which i use a pushbutton. Well i need a mechanism such that when user click and hold the Pushbutton the sphere in the axes shall move and as soon as he releases the Pushbutton, the sphere should stop moving. Please asvise is there any CALLBACK for Pushbutton that can do so or is there anyy other approach.
Best Regards,
Inam
댓글 수: 0
답변 (1개)
Angus
2013년 6월 21일
Some function written for ButtonDownFcn maybe? Or can you make a slider/scroll type button that controls the axis view, maybe you could modify it for your use?
Not sure really, just some ideas ... best luck.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!