FMX.Objects3D.TRoundCube.HitTest

From RAD Studio API Documentation

Delphi

property HitTest: Boolean read FHitTest write SetHitTest default 1;

C++

__property HitTest = {default=1};

Properties

Type Visibility Source Unit Parent
property published
FMX.Objects3D.pas
FMX.Objects3D.hpp
FMX.Objects3D TRoundCube

Description

Specifies whether mouse-click events are captured by this 3D control. {{#multireplace:FMX.Objects3D.TRoundCube.HitTest|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Controls3D.TControl3D.HitTest|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Controls3D.TControl3D.HitTest|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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