in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Can't set Anchor to 'Fill' for middle dockPanel

Last post 11/14/2008 9:30 AM by Robert Chaffe. 5 replies.
Page 1 of 1 (6 items)
Sort Posts:
Previous Next
  • 3/7/2007 11:20 PM

    • James D. Murray

    Can't set Anchor to 'Fill' for middle dockPanel

    How can I get the botton border of dockPanel3 in this Form to anchor to the statusbar like dockPanel1 and dockPanel3 do? The border doesn't move when the form is resized. For some reason, the dockPanel3's Anchor property doen't allow 'Fill' to be selected. I can add code to the form's resize event, but I assume there must be a better way to enable this behavior.
     
    Thanks in advance.
     
     
     

  • 3/8/2007 6:11 PM In reply to

    • James D. Murray

    Re: Can't set Anchor to 'Fill' for middle dockPanel

    Update: I've still not found a way to make the bottom side of the middle panel automatically resize its height when the form is resized as all the other panels do. I've attempted to use the form's Resize event to programmatically change the height of the panel, but this causes such an enormous drag on the redraw that all of the icons on my desktop flash each time the form changes size.
     
    One other question: how can I get rid of the caption (title) bar on a panel? Removing all buttons and blanking the Text property only leaves a blank caption bar (see middle panel below). I want the bar gone completely.
     
    Thanks.
     

  • 11/13/2008 2:34 AM In reply to

    Re: Can't set Anchor to 'Fill' for middle dockPanel

    Is there any solution for this problem?

     

    Best regards, Artyom.

  • 11/13/2008 9:23 AM In reply to

    Re: Can't set Anchor to 'Fill' for middle dockPanel

     There is an accepted proposal for allowing a dock panel to fill the center of the container.  It has yet to be implemented.

    http://www.devexpress.com/issue=DS17237

     Until it is implemented, consider using a regular Panel control, docked to fill the form that also contains the dock panels.  Put whatever other controls you like into the Panel instead of the form.  The Panel will resize with the form as well as with the hiding, showing and resizing of the dock panels.

  • 11/14/2008 7:31 AM In reply to

    Re: Can't set Anchor to 'Fill' for middle dockPanel

    This problem is more than 2 years old)) How many time need your company to add this feature? Time is critical for us.

    Your components are very good, but this  disadvantage force us to refuse from  buying it.

     

    P.S. Sorry for my english

  • 11/14/2008 9:30 AM In reply to

    Re: Can't set Anchor to 'Fill' for middle dockPanel

     I do not work for Developer Express.  Do not complain to me!  Snail

Page 1 of 1 (6 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED