TImageEnMView.MoveSelectedImagesTo
Declaration
procedure MoveSelectedImagesTo(beforeImage: Integer; UseDisplayOrder: Boolean = true);
Description
Moves all selected images to the postion prior to
beforeImage.
To move images after last image set
beforeImage to
ImageCount.
If
UseDisplayOrder is true, files will be inserted in their new position in the order they are displayed. When false, they are inserted in the order they were selected.
Note: This method does not consider the
DisplayMode. The
selected image is always moved even if
DisplayMode is mdSingle (not the
visible frame)
// Move all selected images to the start of the grid
ImageEnMView1.MoveSelectedImagesTo(0);
// Move all selected images to the end of the grid
ImageEnMView1.MoveSelectedImagesTo(ImageEnMView1.ImageCount);