mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 14:31:29 +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);
|
Result := TTabControlNoteBookStrings.Create(Self);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TTabControl.GetClientOrigin: TPoint;
|
||||||
|
begin
|
||||||
|
Result := TTabControlNoteBookStrings(FTabs).FNoteBook.ClientOrigin;
|
||||||
|
end;
|
||||||
|
|
||||||
constructor TTabControl.Create(TheOwner: TComponent);
|
constructor TTabControl.Create(TheOwner: TComponent);
|
||||||
begin
|
begin
|
||||||
FTabControlCreating:=true;
|
FTabControlCreating:=true;
|
||||||
|
Loading…
Reference in New Issue
Block a user