mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 16:40:58 +02:00
LCL: fix TabControl invalidation
git-svn-id: trunk@42559 -
This commit is contained in:
parent
112f98bc2f
commit
aae0ab1f7b
@ -356,7 +356,7 @@ type
|
||||
procedure SetPageIndex(AValue: Integer);
|
||||
procedure SetPages(AValue: TStrings);
|
||||
procedure SetShowTabs(AValue: Boolean);
|
||||
procedure SetTabPosition(tabPos: TTabPosition);
|
||||
procedure SetTabPosition(tabPos: TTabPosition); virtual;
|
||||
procedure ShowCurrentPage;
|
||||
procedure UpdateAllDesignerFlags;
|
||||
procedure UpdateDesignerFlags(APageIndex: integer);
|
||||
@ -721,7 +721,7 @@ type
|
||||
procedure SetScrollOpposite(const AValue: Boolean);
|
||||
procedure SetStyle(const AValue: TTabStyle);
|
||||
procedure SetTabHeight(const AValue: Smallint);
|
||||
procedure SetTabPosition(const AValue: TTabPosition);
|
||||
procedure SetTabPosition(AValue: TTabPosition); override;
|
||||
procedure SetTabs(const AValue: TStrings);
|
||||
procedure SetTabWidth(const AValue: Smallint);
|
||||
protected
|
||||
|
@ -337,6 +337,8 @@ begin
|
||||
NewWidth,TabControl.ClientHeight);
|
||||
end;
|
||||
end;
|
||||
|
||||
TabControl.Invalidate;
|
||||
end;
|
||||
|
||||
function TTabControlNoteBookStrings.IndexOfTabAt(X, Y: Integer): Integer;
|
||||
@ -463,7 +465,7 @@ begin
|
||||
TTabControlStrings(FTabs).TabHeight:=AValue;
|
||||
end;
|
||||
|
||||
procedure TTabControl.SetTabPosition(const AValue: TTabPosition);
|
||||
procedure TTabControl.SetTabPosition(AValue: TTabPosition);
|
||||
begin
|
||||
if FTabPosition=AValue then exit;
|
||||
FTabPosition:=AValue;
|
||||
|
Loading…
Reference in New Issue
Block a user