Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Preventing a single pane from resizing
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Preventing a single pane from resizing

 Post Reply Post Reply
Author
Message
ianp View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 19 December 2003
Location: United Kingdom
Status: Offline
Points: 119
Post Options Post Options   Thanks (0) Thanks(0)   Quote ianp Quote  Post ReplyReply Direct Link To This Post Topic: Preventing a single pane from resizing
    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.

 

Back to Top
Wolfgang View Drop Down
Newbie
Newbie


Joined: 01 December 2003
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wolfgang Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.