Skip to main content

TdxCustomLayoutHitTest Class

The base class for all HitTest classes which identify layout control elements (the client area, groups, items, the Customization Form, etc.) whose area contains a specified point (also called the inspected point).

Declaration

TdxCustomLayoutHitTest = class(
    TObject
)

Remarks

The TdxCustomLayoutHitTest class introduces the following members:

  • The Pos property to store the inspected point;

  • The HitTestCode method that returns a constant identifying the layout element or area that corresponds to the inspected point;

  • The GetGroupForInsert method that returns the potential parent group if a layout element is dropped at the inspected point.

TdxCustomLayoutHitTest descendants override the HitTestCode and GetGroupForInsert methods to return element-specific data.

Inheritance

TObject
TdxCustomLayoutHitTest
See Also