Hello,
I want to stretch multiple objects together when a form is stretched.
For example, say the user stretches the form to the right. There are two text boxes left and right of each other on the form. I would want the two text boxes to stretch to fill the empty room.
The issue I'm having is if I anchor box text boxes to both left and right, the stretching makes them overlap each other. I would probably need them to stretch half as much and with the box on the right moving a little bit to make room.
Edit: Also, I can anchor both boxes to top or bottom, and they would at least stay aligned, but wont stretch at all.
Stretch (or anchor) multiple objects together
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Stretch (or anchor) multiple objects together
I recommend using a TableLayoutPanel for cases like these. You can configure the table's column widths to 50% and the controls will expand without overlap.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.