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


// select images 0 and 1 (assumes you have set at design time ImageEnMView1.EnableMultiSelect := True)
ImageEnMView1.Deselect;
ImageEnMView1.MultiSelecting := True;
ImageEnMView1.SelectedImage := 0;
ImageEnMView1.SelectedImage := 1;
ImageEnMView1.MultiSelecting := False;


See Also


- MultiSelectedImagesCount
- MultiSelectedImages