RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomControlBar.HitTest Method

Returns the control at the specified coordinates.

Pascal
function HitTest(X: Integer; Y: Integer): TControl;
C++
__fastcall TControl * HitTest(int X, int Y);

Call HitTest to get the control at the specified coordinates. 

X and Y are the coordinates. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!