ImageEn, unit iemview

TImageEnMView.EnableMultiSelect

TImageEnMView.EnableMultiSelect


Declaration

property EnableMultiSelect: Boolean;


Description

Specify whether the user is able to select multiple images.

Note: Avoid use of mmiScroll if EnableMultiSelect=True, because it can interfere with drag selection

Default: false (i.e. multi-selection is disabled)


Example

// 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