+ added possibility to navigate among tabs using Ctrl-PgUp/Ctrl-PgDn

git-svn-id: trunk@46340 -
This commit is contained in:
Tomas Hajny 2020-08-09 13:25:37 +00:00
parent f8144bb724
commit 2fd6661a9d

View File

@ -399,6 +399,22 @@ begin
ClearEvent(Event);
end;
end;
kbCtrlPgUp:
begin
if ActiveDef > 0 then
Index := Pred (ActiveDef)
else
Index := Pred (DefCount);
ClearEvent(Event);
end;
kbCtrlPgDn:
begin
if ActiveDef < Pred (DefCount) then
Index := Succ (ActiveDef)
else
Index := 0;
ClearEvent(Event);
end;
else
for I:=0 to DefCount-1 do
begin