FMX.Controls3D.TControl3D.HitTest
Delphi
property HitTest: Boolean read FHitTest write SetHitTest default True;
C++
__property bool HitTest = {read=FHitTest, write=SetHitTest, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Controls3D.pas FMX.Controls3D.hpp |
FMX.Controls3D | TControl3D |
Description
Specifies whether mouse-click events are captured by this 3D control.
- If you set HitTest to True, this control captures all mouse OnClick and OnDblClick events.
- If you set HitTest to False, these two mouse-click events will pass through this control, so that a control laid out behind this one receives the mouse events instead of this control.