Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MoverControl changes
Message
From
21/09/2007 14:20:54
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
MoverControl changes
Miscellaneous
Thread ID:
01256002
Message ID:
01256002
Views:
58
I had the bright idea to modify the mmMoverControl to use a TableLayoutPanel to keep the control usable when it resizes. I started with inheriting - but I couldn't change layout - duh.

So I went with the neanderthal method and just copied the form into my project and put the controls in a TableLayoutPanel. Trivial exercise, what could possibly go wrong.

When I dropped the control in my form, I placed it inside a Tab Control. When I close the form and reopen it (design mode, not running the program), the controls on the tab are rearranged. There are three tabs on the TabControl and it doesn't make any difference which tab I drop the mmMoverControl on, tabs 1 and 2 are rearranged. If I drop it on the TableLayoutPanel on the form, I don't see any rearranging. Of course the original mmMoverControl causes no problems at all.

My thoughts are:
- You can't use TableLayoutPanel in a control (but I couldn't find any warnings)
- I'm too many container levels deep, but that seems unlikely
Form->TableLayoutPanel->TabControl->TabPage
->CustomControl->TableLayoutPanel->Controls

I've spent a few hours and a few hairs (I can't afford to lose) on this, and I'm no closer to figuring out what is going on. Any help would be appreciated.

Thanks,
Jeff
Next
Reply
Map
View

Click here to load this message in the networking platform