Hello,
I found a behavior that I cannot explain to myself:
//iefmvMain is a TImageEnFolderMView-Object and displays some images.
//Enable MultiSelect and select two or more of these images. After them try this:
procedure Test_BeginSelect;
begin
//here it's still OK:
if (iefmvMain.MultiSelectedImagesCount > 0) then begin
ShowMessage('Like expected');
end
else begin
ShowMessage('I''m a little bit confused');
end;
//BeginSelectImages makes the difference:
//- MultiSelectedImagesCount is 0
//- IsSelected returns False for each image
//- MultiSelectedImagesList is empty
iefmvMain.BeginSelectImages;
if (iefmvMain.MultiSelectedImagesCount > 0) then begin
ShowMessage('Like expected');
end
else begin
ShowMessage('I''m a little bit confused');
end;
iefmvMain.EndSelectImages;
end;
Is this an error or is there an important reason for these differences?
Kind Regards
Jens
www.inntalsoftware.de/en/