Vcl.ComCtrls.TCustomTabControl.GetHitTestInfoAt
Delphi
function GetHitTestInfoAt(X, Y: Integer): THitTests;
C++
THitTests __fastcall GetHitTestInfoAt(int X, int Y);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTabControl |
Description
Returns information about the location of a point relative to the client area of the tab control.
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.