Print Page | Close Window

prevent Resize

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=9685
Printed Date: 17 May 2024 at 4:13am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: prevent Resize
Posted By: Bernie
Subject: prevent Resize
Date Posted: 25 February 2008 at 3:46am
I would like to cancel user's pane resize.
Can you teach me how?


-------------
Bernie Ho, Planning Manager + IELTS specialist + part-time programmer
Taiwan, R.O.C



Replies:
Posted By: Aaron
Date Posted: 25 February 2008 at 5:20am
Hi,
 
You could use DockingPane.Options.LockSplitters = True but this affects all other splitters as well.
 
Or you could use:  Pane.MaxTrackSize.SetSize 100,100 and Pane.MinTrackSize.SetSize 100,100
 
This will set the minimum and maximum size of the pane. If min == max then splitter won't be visible and cannot be resized



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