mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 15:00:26 +02:00
TTabControl: fix ClientOrigin, Issue #38403 - Need the origin of the child TabControl.
git-svn-id: trunk@64424 -
This commit is contained in:
parent
07b254d10c
commit
ed6e087523
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user