Vcl.ButtonGroup.TButtonGroup.TargetIndexAt
Delphi
function TargetIndexAt(const X, Y: Integer): Integer;
C++
int __fastcall TargetIndexAt(const int X, const int Y);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.ButtonGroup.pas Vcl.ButtonGroup.hpp |
Vcl.ButtonGroup | TButtonGroup |
Description
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.