Solved

TableLayoutPanel

Posted on 2006-11-28
5
418 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks :)

Need a hand with the user control?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

743 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

13 Experts available now in Live!

Get 1:1 Help Now