FMX.Layers3D.TSolidLayer3D.HitTest

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property HitTest: Boolean read FHitTest write SetHitTest default 1;

C++

__property HitTest = {default=1};

Properties

Type Visibility Source Unit Parent
property published
FMX.Layers3D.pas
FMX.Layers3D.hpp
FMX.Layers3D TSolidLayer3D

Description

Specifies whether mouse-click events are captured by this 3D control.

FMX.Layers3D.TSolidLayer3D.HitTest inherits from FMX.Controls3D.TControl3D.HitTest. All content below this line refers to FMX.Controls3D.TControl3D.HitTest.

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.

See Also