Declaration
procedure MoveImage(idx: Integer; destination: Integer);
Description
Moves an image from the index position
idx to the
destination position.
If the destination 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
// Exchange first and second images
ImageEnMView1.MoveImage(0, 1);
// Move first image to the end of the grid
ImageEnMView1.MoveImage(0, ImageEnMView1.ImageCount);