Can I change the management structure on the fly?

Is there a way to change a window or dialog from vertical layout to horizontal layout?

eg. from this (narrow tall window)

A: -------  
B: -------  
C: --------  
D: --------  

To this (square window)

A:-------- C:-------
B:-------- D:--------

To this (wide window).

A:------ B:------- C:-------- D:---------

How to resize a window? A, B, C, D are edit fields or comboboxes, etc.

Obviously, I can use pagecontrol with 3 (or more) pages and invisible tabs and alternate them, but I hope to do this without such duplication.

I hope for a solution that does not require me to write code.

+4
source share
1 answer

TFlowPanel. Align, alClient. TEdit TFlowPanel. , .

enter image description here

enter image description here

enter image description here

enter image description here

FlowStyle . fsLeftRightTopBottom :

 A:-------- B:-------
 C:-------- D:--------

. fsTopBottomLeftRight .

 A:-------- C:-------
 B:-------- D:--------
+4

Source: https://habr.com/ru/post/1677778/