Why is eventData.HitObject / WindowMous​eData.HitO​bject not listed in properties?

4 ビュー (過去 30 日間)
Johannes
Johannes 2018 年 2 月 10 日
コメント済み: Stefan Wackerow 2019 年 11 月 16 日
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
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 ExchangeStartup and Shutdown についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by