Solved

TableLayoutPanel

Posted on 2006-11-28
5
420 Views
Last Modified: 2010-04-23
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 :)
0
Comment
Question by:wilsoada
  • 3
5 Comments
 
LVL 24

Accepted Solution

by:
Jeff Certain earned 500 total points
ID: 18032691
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.
0
 
LVL 24

Expert Comment

by:Jeff Certain
ID: 18036199
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.
0
 

Author Comment

by:wilsoada
ID: 18049462
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.
0
 
LVL 24

Expert Comment

by:Jeff Certain
ID: 18050544
Thanks :)

Need a hand with the user control?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now