RAD Studio VCL Reference
|
Indicates the index of the tab at a specified point.
function IndexOfTabAt(X: Integer; Y: Integer): Integer;
__fastcall int IndexOfTabAt(int X, int Y);
Use IndexOfTabAt to locate which tab is at the point specified by X and Y. If the point with X-coordinate X and Y-coordinate Y is over a tab, IndexOfTabAt returns the 0-offset index of that tab in the Tabs property (TTabControl) or in the Pages property (TPageControl). If the point defined by X and Y is not over a tab, IndexOfTabAt returns –1.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|