[Lazarus] AnchorDocking resize priority

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] AnchorDocking resize priority

Andrey M, Zubarev
Hi All,

Possible to make a priority for resizing docked windows?
To the extent possible when resizing the form, the changes
occurred due to a single window, instead of all
proportion to?

--
Best regards,
 Andrey                          mailto:[hidden email]


--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] AnchorDocking resize priority

Mattias Gaertner

 

 

"Andrey M, Zubarev" <[hidden email]> hat am 11. April 2011 um 10:16 geschrieben:

> Hi All,
>
> Possible to make a priority for resizing docked windows?
> To the extent possible when resizing the form, the changes
> occurred due to a single window, instead of all
> proportion to?

There is no property for this.
You can override the ResetBounds function:

DockMaster.ManagerClass:=TMyAnchorDockManager;

TMyAnchorDockManager = class(TAnchorDockManager)
public
  procedure ResetBounds(Force: Boolean); override;
end;


Mattias


--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus