Optimize fixing the tab index in TCustomTabControl.TabIndexAtClientPos. Issue #21088

git-svn-id: trunk@34767 -
This commit is contained in:
juha 2012-01-17 21:40:20 +00:00
parent cec115827d
commit 7b130f07af

View File

@ -318,7 +318,9 @@ begin
Inc(VisiblePageInd) Inc(VisiblePageInd)
else begin else begin
if VisiblePageInd < Result then if VisiblePageInd < Result then
Inc(Result); Inc(Result)
else
Break;
end; end;
end; end;
end end