TdxCustomOrgChart.GetHitTestsAt(Integer,Integer) Method
Identifies to which control’s element the inspected point belongs.
Declaration
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 |
|
htOnRightIndentX |
|
htOnIndentY |
|
htUnder |
|
htOnRect |
|
htOnShape | Within the node’s shape, and thus within the bounding rectangle (htOnRect). |
htOnButton | Within the node’s expand button. |