LCL: GTK2: Using nboKeyboardTabSwitch in TabControl options and <Ctrl> + <Tab> now working.

git-svn-id: trunk@56130 -
This commit is contained in:
michl 2017-10-18 19:37:47 +00:00
parent 11aad71dab
commit 9abb167fde

View File

@ -788,11 +788,13 @@ begin
begin
if Shift = [ssCtrl] then
begin
Key := 0;
PageIndex := (PageIndex + 1) mod PageCount;
Exit;
end
else if Shift = [ssCtrl, ssShift] then
begin
Key := 0;
PageIndex := (PageIndex + PageCount - 1) mod PageCount;
Exit;
end;