Hi Hassan
If an ImageEnView is attached to an ImageEnMView then scrolling the mouse wheel will navigate the ImageEnMView files.
So, you either need to disconnect the ImageEnView from the ImageEnMView (by removing it from ImageEnMView.AttachedImageEnView) and handle the ImageEnMView selection event yourself to load the image into the TImageEnView.
Or you need to override the OnMouseWheel event to make it call ImageEnView1.Seek().
procedure TMainForm.ImageEnView1MouseWheel(Sender: TObject; Shift: TShiftState;
WheelDelta: Integer; MousePos: TPoint; var Handled: Boolean);
begin
if WheelDelta < 0 then
ImageEnView1.Seek( ieioSeekPrior, True )
else
ImageEnView1.Seek( ieioSeekNext, True );
Handled := true;
end;
Nigel
Xequte Software
www.imageen.com