Why is eventData.HitObject / WindowMouseData.HitObject not listed in properties?
조회 수: 3 (최근 30일)
이전 댓글 표시
Hey,
Somewhere on the web I found out, that I can use eventData.HitObject / WindowMouseData.HitObject to identify which object has been clicked. I use it a lot and love this feature. However, when you disp eventData it just displays the following:
WindowMouseData with properties:
Source: [1×1 Figure]
EventName: 'WindowMousePress'
Where is my .HitObject hidden? Is there something else inside eventData that I could use? How can I explore eventData without any documentation?
Thanks in advance!
댓글 수: 1
Stefan Wackerow
2019년 11월 16일
It also has the property .IntersectionPoint, which gives the location within the control which was clicked at.
Very useful functions, but is it documented anywhere?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!