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:
=================== ============================
=================== ============================
| | | |
| __________ | | __________________ |
| |__________| | => | | | |
| |__________| | | |__________________| |
| | | | | |
| | | |__________________| |
=================== | |
| |
============================
Frank Eller - 11 Apr 2005 17:32 GMT
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