Arrange controls

Discussions related to Visual Prolog
vjoer
Active Member
Posts: 29
Joined: 7 Feb 2006 13:42

Arrange controls

Unread post by vjoer » 8 Mar 2013 19:54

Hello

I am trying to arrange controls inside a groupbox.
The groupbox is resized dynamically once it is showed.
How can i make the controls inside it remain nicely positioned?
If i use anchors, i cannot make two rows the same size.
If i dont use anchors, I cannot set the size of the controls only by layout.
Can this be solved without coding?

Thank you
Viorel Farcas

Paul Cerkez
VIP Member
Posts: 202
Joined: 6 Mar 2000 0:01

Unread post by Paul Cerkez » 11 Mar 2013 10:34

have you looked at the sudoku example? It was introduced at the 2008 VIP-ALC

its interface very neatly arranges controls inside of larger controls inside of a dialog. all sub-controls resize and re-align when the largeest control changes size.
AI Rules!
P.

vjoer
Active Member
Posts: 29
Joined: 7 Feb 2006 13:42

Unread post by vjoer » 11 Mar 2013 10:51

Hello

That example uses coding to arrange controls.
Thanks anyway.

Regards
Viorel Farcas

Post Reply