Qt: TQtWidgetSet.SetScrollInfo - fixed wrong result, it must return real slider position, not value which might be out of sync with position. This fixes problems with TScrollingWinControl (TControlScrollbar).

git-svn-id: trunk@38826 -
This commit is contained in:
zeljko 2012-09-25 11:42:46 +00:00
parent 42d469990a
commit 1b807141b9

View File

@ -6079,7 +6079,8 @@ var
// ScrollBar.setSliderPosition(ScrollInfo.nTrackPos); // ScrollBar.setSliderPosition(ScrollInfo.nTrackPos);
end; end;
Result := ScrollBar.getValue; Result := ScrollBar.getSliderPosition;
end; end;
begin begin