img.sex1 + 1, img.sel2 + 1, img.sely2); will not work.
Try this instead:
procedure TFormMain.ImageEnView1SpecialKey(Sender: TObject; CharCode: Word; Shift: TShiftState; var Handled: Boolean);
begin
case CharCode of
vk_Left:
ImageEnView1.MoveSelection( -1, 0 );
vk_Down:
ImageEnView1.MoveSelection( 0, 1 );
vk_Right:
ImageEnView1.MoveSelection( 1, 0 );
vk_Up:
ImageEnView1.MoveSelection( 0, -1 );
end;
end;
William Miller