Can I alter control layout on the fly?

Viewed 147

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

e.g. 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:---------

As I resize the window? A, B, C, D are edit boxes or comboboxes etc

Obviously, I can use a pagecontrol with 3 (or more) pages and invisible tabs and alternate between these, but I'm hoping to do this without such duplication.

I'm hoping for a solution that does not require me to write code.

1 Answers
Related