TTabControl: fix ClientOrigin, Issue #38403 - Need the origin of the child TabControl.

git-svn-id: trunk@64424 -
This commit is contained in:
martin 2021-01-27 13:02:49 +00:00
parent 07b254d10c
commit ed6e087523

View File

@ -758,6 +758,11 @@ begin
Result := TTabControlNoteBookStrings.Create(Self);
end;
function TTabControl.GetClientOrigin: TPoint;
begin
Result := TTabControlNoteBookStrings(FTabs).FNoteBook.ClientOrigin;
end;
constructor TTabControl.Create(TheOwner: TComponent);
begin
FTabControlCreating:=true;