TXlsFile.SendBack Method
Sends the graphical object one layer down. It will show below and will be covered by image at objectIndex-1.
Remarks
This will change the order of the array, so after calling SendToBack(i), position i will have a new object. To move an object 2 steps down the correct code is:
xls.SendBack(i);
xls.SendBack(i - 1);
and not
xls.SendBack(i);
xls.SendBack(i);
The second code would actually leave the array unmodified.
Syntax
Unit: FlexCel.XlsAdapter
procedure TXlsFile.SendBack(const objectIndex: Integer); override;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | objectIndex | Integer | Index of the object to move. (1 based) |