![]() |
Preventing a single pane from resizing |
Post Reply ![]() |
Author | |
ianp ![]() Moderator Group ![]() ![]() Joined: 19 December 2003 Location: United Kingdom Status: Offline Points: 119 |
![]() ![]() ![]() ![]() ![]() 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.
|
|
![]() |
|
Wolfgang ![]() Newbie ![]() Joined: 01 December 2003 Status: Offline Points: 36 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |