I've got 2 groupboxes (with listboxes inside), and between those two
groupboxes, there are two small buttons, for moving stuff back and forth
between the listboxes.
Generally, I have the 'anchoring concept' down - but here, it's giving me
problems. I don't really know if what I want is possible, but here it is
I need the groupboxes to grow equally, vertically and horizontally, based on
the size of the form sizing.
BUT - I need those two buttons (stacked vertically between the groupboxes)
to be in the same relative position, vertically, and horizontally, between
the two groupboxes
Is it possible to use anchoring to accomplish this, or am I going to have to
go back to the VB6 days of coding a resize event (blah!)?
Bob Powell [MVP] - 07 Jul 2007 10:15 GMT
Personally, I'd go for a custom layout engine. In cases where you need to
keep things centred or in a specific ratio anchoring and docking doesn't cut
it.

Signature
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
> I've got 2 groupboxes (with listboxes inside), and between those two
> groupboxes, there are two small buttons, for moving stuff back and forth
[quoted text clipped - 11 lines]
> Is it possible to use anchoring to accomplish this, or am I going to have
> to go back to the VB6 days of coding a resize event (blah!)?