anchordocking: make DockBounds and DockParentClientSize read-only. They should not be written directly but only through UpdateDockBounds.

git-svn-id: trunk@51384 -
This commit is contained in:
ondrej 2016-01-23 10:04:58 +00:00
parent 9f13b0b11a
commit aac3b6bdd8

View File

@ -180,8 +180,8 @@ type
procedure MoveSplitter(Offset: integer); override;
public
constructor Create(TheOwner: TComponent); override;
property DockBounds: TRect read FDockBounds write FDockBounds;
property DockParentClientSize: TSize read FDockParentClientSize write FDockParentClientSize;
property DockBounds: TRect read FDockBounds;
property DockParentClientSize: TSize read FDockParentClientSize;
procedure UpdateDockBounds;
procedure SetBounds(ALeft, ATop, AWidth, AHeight: integer); override; // any normal movement sets the DockBounds
procedure SetBoundsPercentually;