Problem in resizing controls.


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Thread: Problem in resizing controls.

  1. #1
    Join Date
    Mar 2009
    Posts
    67

    Question Problem in resizing controls.

    Hi,
    we all know how to dock or anchor controls so that they resize themselves accordingly when a form is resized. It works fine till we have rows of controls on left and right size of the form. But what if have three columns (Columns as in visual sense. I'm not talking about any column control containing other controls) of controls? For example a form having a bunch of controls in the left side, a bunch in the middle and a bunch in the right. There may be a few more bunches in the middle. Now while resizing the form, I want the controls to resize accordingly as well as change their positions to make space for the previous bunch of controls that are resizing.
    I mean, while the user increases the form size horizontally, the controls of the second bunch should resize and at the same time they should move right because the controls of the first bunch are increasing horizontally too. When the user decreases the form size horizontally the same thing should occur in the reverse order.
    I can manage it somehow using nested splitcontainers but that's too cumbersome. I would like to know if there's some better way to achieve it, like setting some property etc.?
    Please help. Check the attached image. Please feel free to ask if my post isn't comprehensible. Regards.
    Attached Images Attached Images

Similar Threads

  1. Replies: 0
    Last Post: 09-20-2006, 08:56 PM
  2. Replies: 1
    Last Post: 09-19-2006, 08:45 PM
  3. Replies: 0
    Last Post: 08-07-2006, 11:30 AM
  4. BOND CONTROLS vs. UNBOND CONTROLS
    By saly in forum VB Classic
    Replies: 12
    Last Post: 02-02-2003, 12:27 AM
  5. resizing dynamic controls
    By Jim Leishman in forum VB Classic
    Replies: 0
    Last Post: 07-26-2002, 11:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center