TAdvCustomFormDesigner.ControlIndex Method
Returns the index of the control in the current selection list.
Remarks
As controls are being added to the selection, an internal list of selected controls is kept by the designer. ControlIndex method returns the index position, in that internal list, for the specified control.
Syntax
Unit: FormDesigner
function TAdvCustomFormDesigner.ControlIndex(AControl: TControl): Integer;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AControl | TControl | The control for which the index will be returned. |
Returns
The index position of the control in the list.