Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firemonkey and dockable forms

Is it possible to have dockable forms in FireMonkey, as I have inspected the forms properties, and there is no such property to do that. Is there any workaround to accomplish that?

like image 326
ManosM Avatar asked May 03 '26 08:05

ManosM


1 Answers

There's nothing built in, as far as I know but it shouldn't be too difficult to add in yourself. Just bear in mind that any form can parent any control on another form:

On the child form, add any controls inside a container (e.g. a TLayout). Create the child form. Set the Parent property of the TLayout (etc.) to the parent form (or, more probably a container on the parent form so you can set the child TLayout's alignment to alClient).

If you want to show the placement during a drag operation, experiment with the various effec ts included.

like image 139
Mike Sutton Avatar answered May 04 '26 21:05

Mike Sutton



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!