UPD: Make workable "Home" and "End" with "Control" key in Viewer

This commit is contained in:
Alexander Koblov 2010-06-02 15:10:14 +00:00
commit 2aee4fc43a

View file

@ -1705,6 +1705,23 @@ begin
inherited KeyDown(Key, Shift);
end;
end
else if Shift = [ssCtrl] then
begin
case Key of
VK_HOME:
begin
Key := 0;
GoHome;
end;
VK_END:
begin
Key := 0;
GoEnd;
end;
else
inherited KeyDown(Key, Shift);
end;
end
else
inherited KeyDown(Key, Shift);
end;