TImageEnMView.EnableMultiSelect
Declaration
property EnableMultiSelect: Boolean;
Description
Specify whether the user is able to select multiple images.
When multi-select is enabled, you can hold down Ctrl while selecting images, or Shift to select a contigious range. Drag selection is also available.
Configure
MultiSelectionOptions to adjust the multi-selection behavior.
Note: Avoid use of
mmiScroll if
EnableMultiSelect=True, because it can interfere with drag selection
Default: false (i.e. multi-selection is disabled)
// Allow multiple selection
ImageEnMView1.EnableMultiSelect := True;
// Select images 0 and 1 (assumes EnableMultiSelect = True)
ImageEnMView1.Deselect;
ImageEnMView1.MultiSelecting := True;
ImageEnMView1.SelectedImage := 0;
ImageEnMView1.SelectedImage := 1;
ImageEnMView1.MultiSelecting := False;
See Also
◼MultiSelectedImagesCount
◼MultiSelectedImages