[Lazarus] AlignControls

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Feb 1 12:47:22 CET 2013


Juha Manninen <juha.manninen62 at gmail.com> hat am 1. Februar 2013 um 12:30
geschrieben:
> A related question:
> How can I prevent a user from moving controls associated with CoolBar
> bands at design-time?
> I guess I can set the locations of all controls in AlignControls but
> is there any better way?

Well, your AlignControls should move them anyway, so that would be sufficient.

You can set

Child.ControlStyle:=Child.ControlStyle+[csDesignFixedBounds];


Mattias




More information about the Lazarus mailing list