Acheiving the same affect as the Detail Panel of CodeSite 2.0

I am trying to achieve the same affect as found in the Detail Panel of CodeSite 2.0

When the resizer is moved, the alignment of the edit fields wrap up under on another.

Could someone please show me how to achieve this affect with a detail description and example code;

Shane Holmes
LVL 11
Who is Participating?
MarcGConnect With a Mentor Commented:
something like if edit1.left + edit1.width > form1.width then
set it to a new position
I don't know I think you just need to take the OnResize Event of your form and there you check the new size of the window and if you have to set the edit fields to a new position.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.