RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.GetItem Method

Returns the index of the node at the position indicated by the X and Y parameters.

Pascal
function GetItem(X: Integer; Y: Integer): LongInt;
C++
__fastcall LongInt GetItem(int X, int Y);

Call GetItem to locate the node at the specified screen pixel coordinates. GetItem returns an index into the Items property array. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!