RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTabControl.GetHitTestInfoAt Method

Returns information about the location of a point relative to the client area of the tab control.

Pascal
function GetHitTestInfoAt(X: Integer; Y: Integer): THitTests;
C++
__fastcall THitTests GetHitTestInfoAt(int X, int Y);

Call GetHitTestInfoAt to determine what portion of the tab control, if any, sits under the point specified by the X and Y parameters. 

GetHitTestInfo returns a THitTests type. This set describes the possible elements under the mouse. When interpreting these values, each tab can be considered an "item" of the tab control. 

 

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