RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TButtonGroup.TargetIndexAt Method

Provides the target insertion index of a given coordinate (x,y). If the target is somewhere in or above the top half of a button, this method inserts an object above the button. If the target is somewhere in or below the bottom half of a button, the method inserts an object after the button.

Pascal
function TargetIndexAt(const X: Integer; const Y: Integer): Integer;
C++
__fastcall int TargetIndexAt(const int X, const int Y);
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!