Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomOrgChart.GetHitTestsAt(Integer,Integer) Method

Identifies to which control’s element the inspected point belongs.

#Declaration

Delphi
function GetHitTestsAt(X: Integer; Y: Integer): TdxOcHitTests;

#Parameters

Name Type
X Integer
Y Integer

#Returns

Type
TdxOcHitTests

#Remarks

The corresponding flag is present in the function’s result if the point whose coordinates are passed as the X and Y parameters, is:

Value

Description

htNowhere

Located in an empty portion of the client area.

htOnLeftIndentX

  • Near the node‘s left border;

  • Near the control’s left border or – the point is located at the right half of the area that separates two siblings.

htOnRightIndentX

  • Near the node’s right border;

  • Near the control’s right border or – the point is located at the left half of the area that separates two siblings.

htOnIndentY

  • Near the node’s topmost border;

  • Near the control’s topmost border or – if the current node has children.

htUnder

  • Below the node’s lowest border;

  • Near the node’s expand button or – if the current node has no children.

htOnRect

htOnShape

Within the node’s shape, and thus within the bounding rectangle (htOnRect).

htOnButton

Within the node’s expand button.

See Also