Declaration
procedure MoveImage(Index: Integer; DestIndex: Integer);
Description
Moves an image from the index position
Index to the
DestIndex position.
If the DestIndex index is greater than or equal to the image count, the image is moved to the position after the last image.
Note:
◼If you have images of the order ABCD, then calling MoveImage(0, 2) would change it to BCAD
◼Cannot be used if a
TIEDBMultiBitmap is
attached to the control
Example
// Exchange first and second images
ImageEnMView1.MoveImage(0, 1);
// Move first image to the end of the grid
ImageEnMView1.MoveImage(0, ImageEnMView1.ImageCount);