Visual Studio 2005

I have a TableLayoutPanel that has 2 columns and 2 rows. During design you can mouseover the border and stretch and shrink these columns and rows. I want the user to be able to rezie the columns and rows in the same manner but once you run the app the sizes are locked and the user can not rezise columns and rows using the mouse and click and drag. Should be an easy setting I'd think anyone know what it is? Lots of points its urgent as always :)
Who is Participating?
Jeff CertainConnect With a Mentor Commented:
I don't see a setting... you might need to create a user control to allow this behavior.

If you take this approach, I'd try creating it with 3 splitters (one vertical, containing 2 horizontal). Dock all the controls. Then you just need to wire up something to make sure your two horizontal splitters are sync'd up.
Jeff CertainCommented:
I object! Sometimes the right answer is "you can't do that."

I was willing to help create the user control, but the poster chose not to take me up on that.
wilsoadaAuthor Commented:
LOL love your answer its actually what I figured out to do and then I had asked to have the question deleted since i figured out the answer. Checking back I saw you had answered so I gave you the points.
Jeff CertainCommented:
Thanks :)

Need a hand with the user control?
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.