Table of Contents

TXlsFile.SendForward Method

Sends the graphical object one layer up on the display (z-order) position. It will show above and will cover the image at objectIndex+1.

Remarks

This will change the order of the array, so after calling SendForward(i), position i will have a new object. To move an object 2 steps down the correct code is:

  xls.SendForward(i);
  xls.SendForward(i + 1);

and not

  xls.SendForward(i);
  xls.SendForward(i);

The second code would actually leave the array unmodified.

Syntax

Unit: FlexCel.XlsAdapter

procedure TXlsFile.SendForward(const objectIndex: Integer); override;

Parameters

<-> Parameter Type Description
const objectIndex Integer Index of the object to move. (1 based)

See also