ImageEn, unit iemview

TImageEnMView.MultiSelecting

TImageEnMView.MultiSelecting


Declaration

property MultiSelecting: Boolean;


Description

Set MultiSelecting to True to simulate a CTRL key press. It allows the user to select multiple images with mouse or arrow keys without pressing the CTRL key.
Also, MultiSelecting can be used to select more than one image using the SelectedImage property.

Note: To allow multi-selection, the EnableMultiSelect property must be True.


Example

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


See Also

 MultiSelectionOptions