How to get equal sizing panes in a form?

  • Thread starter Thread starter Axel Dahmen
  • Start date Start date
A

Axel Dahmen

Hi,

I want to create a simple form containing, lets say, two TextBoxes within a
Panel. Both TextBoxes should resize equally when the user resizes the
window.

Can the Forms layout manager handle this? And how do I have to set the
properties to get the desired effect?

Your help is quite appreciated!

TIA,
Axel Dahmen

Example sketch:

=================== ============================
=================== ============================
| | | |
| __________ | | __________________ |
| |__________| | => | | | |
| |__________| | | |__________________| |
| | | | | |
| | | |__________________| |
=================== | |
| |
============================
 
Hi Axel,
I want to create a simple form containing, lets say, two TextBoxes
within a Panel. Both TextBoxes should resize equally when the user
resizes the window.

Can the Forms layout manager handle this? And how do I have to set the
properties to get the desired effect?

In this cas you need to calculate the new sizes yourself in the Resize-Event
....

Regards,

Frank Eller
www.frankeller.de
 
Back
Top