Print Page | Close Window

Preventing a single pane from resizing

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=992
Printed Date: 20 January 2025 at 8:29pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Preventing a single pane from resizing
Posted By: ianp
Subject: Preventing a single pane from resizing
Date Posted: 28 July 2004 at 7:39am

Is there an option which sets whether an individual pane can be resized through the use of the splitter?

Setting the locksplitters property of the control to True (e.g. DockingPanesManager.Options.LockSplitters = True) prevents the splitter for all panes, however, I have three panes, (left, right and top) and would like to prevent the user resizing the top pane but allow them to resize the left and right panes.

 




Replies:
Posted By: Wolfgang
Date Posted: 03 September 2004 at 8:10am

I have the same problem to solve!

does anyone have a solution therefore? far i am still searching for it, but everything i try, isn't getting to the point...

Thanx

Wolfgang



Posted By: SuperMario
Date Posted: 06 October 2004 at 9:26am
You can do this with version 9.5:

    Dim  B As Pane

    'Retreive a pointer to some docking panes
    Set B = DockingPaneManager.FindPane(2)

    'Pane B can not be re-sized because the Min and Max sizes are set to the
    'same dimensions.

    'Specifies that Pane B can be no smaller that 130 x 130
    B.MinTrackSize.SetSize 130, 130
    'Specifies that Pane B can be no Larger that 130 x 130
    B.MaxTrackSize.SetSize 130, 130



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net