Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / February 2006

Tip: Looking for answers? Try searching our database.

Possible Bug of the TableLayoutPanel?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alan - 21 Feb 2006 02:56 GMT
Try this to duplicate the possible bug:

1. Drag a tablelayoutpanel on a form inside the VS 2005 IDE.
2. Make it two rows and two columns.
3. Put a textbox in the seond column on the seond row
4. Set the textbox's columnspan = 2.

Since the default grow behavior of the tablelayoutpanel is to add rows, our
textbox will now move to the newly-added row to occupy two columns.
Everything is fine, right? But wait, we cannot drag our textbox to anywhere
any more. No matter how hard you try, the textbox will stay in the
newly-added row.  This behavior seems not right to me. Is this by design?
Could you please check this out, Martin?

Alan
Jim Hughes - 21 Feb 2006 13:25 GMT
I've noticed the same behaviour.

But you can change the Row and Column properties of the textbox and it will
move appropriately.

> Try this to duplicate the possible bug:
>
[quoted text clipped - 13 lines]
>
> Alan
Alan - 21 Feb 2006 16:56 GMT
Jim, thanks for your replay. But how did you make it? I've tweaked the row &
column property of the textbox and won't make it happen.

Don't you think it's a bug of the TableLayoutPanel (TLP) control? I cannot
I'm using the TLP on a custom designer. Seems it's very cubersome to
programmically change each controls' row and column...

Alan

> I've noticed the same behaviour.
>
[quoted text clipped - 18 lines]
> >
> > Alan

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.