TdxAICommandList.Exchange(Integer,Integer) Method
Swaps two individual AI-powered commands in the collection.
Declaration
procedure Exchange(AIndex1: Integer; AIndex2: Integer);
Parameters
Name | Type | Description |
---|---|---|
AIndex1 | Integer | The first target command index in the collection. |
AIndex2 | Integer | The second target command index in the collection. |
Remarks
Command indexes define their display order in the UI. Call the Exchange
procedure to swap positions of two existing commands.
See Also